
內容簡介
一般信息和功能:
支持 WooCommerce 版本:2.2.0 及更高版本
支持 WordPress 版本:3.5 及更高版本
被锁定的分类下的产品将从主要商店循环中排除
密码以全加密方式保存,并保存为 cookie
密码 cookie 默认有效期为 30 分钟
可以通过将其复制到 WooCommerce 主题文件夹中来自定义密码模板
无广告
无付费升级
定期更新及维护
遇到问题?请先阅读常见问题解答,如有需要请联系我们。
GitHub 上的开发
WooCommerce Category Locker 的开发 在 GitHub 上进行。欢迎提交 bug 和 pull request。
钩子
可用的动作和过滤器列表:
动作
wcl_before_passform – 在密码表单前运行
wcl_after_passform – 在密码表单后面运行
过滤器
wcl_passform_classes – 密码 <form> 的类
wcl_passform_submit_label – 密码表单提交按钮的标签
wcl_passform_submit_classes – 密码表单提交按钮的类
wcl_passform_input_classes – 密码表单输入框的类
wcl_passform_input_placeholder – 密码表单输入框的占位符
wcl_passform_description – 在输入框和提交按钮上方显示的密码表单说明
wcl_password_form – 整个表单标记
wcl_password_expires – 输入密码后的密码过期时间(默认为 30 分钟)
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
General Info & Features:
WooCommerce versions support – 2.2.0 and later
WordPress version support – 3.5 and later
Products under locked category are excluded from the main shop loop
Passwords are fully encrypted and saved as a cookie
Password cookie lasts for 30 minutes by default
Ability to customise password template by copying it in to woocommerce theme folder
No Ads
No Paid Upgrades
Regular updates and maintenance
Having trouble? Please read FAQ first, if you need any assistance, contact us.
Development on GitHub
The development of WooCommerce Category Locker takes place on GitHub. Bugs and pull requests are welcomed there.
Hooks
List of available actions and filters:
Actions
wcl_before_passform – runs before Password Form
wcl_after_passform – runs after Password Form
Filters
wcl_passform_classes – Password
