[WordPress] 外掛分享: WooCommerce Category Locker

首頁外掛目錄 › WooCommerce Category Locker
WordPress 外掛 WooCommerce Category Locker 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
100+
安裝啟用
★★★☆☆
3.7/5 分(10 則評價)
3024 天前
最後更新
問題解決
WordPress 3.5+ v1.0.3 上架:2016-04-03

內容簡介

一般信息和功能:

支持 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 分钟)

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WooCommerce Category Locker」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

classes
wcl_passform_submit_label – Password form submit button label
wcl_passform_submit_classes – Password form submit button classes
wcl_passform_input_classes – Password form input classes
wcl_passform_input_placeholder – Password form input placeholder
wcl_passform_description – Password form description shown above input and submit button
wcl_password_form – Entire form markup
wcl_password_expires – Password expiry when entered (default 30min)

文章
Filter
Apply Filters
Mastodon