actionable / http-verb-condtional-display-shortcode
WordPress 短代码,只有当页面通过特定的动词(GET/POST等)调用时才显示内容
1.0.4
2018-03-09 15:27 UTC
Requires
- composer/installers: ~1.0
This package is not auto-updated.
Last update: 2024-09-24 20:25:13 UTC
README
限制块内容仅在HTTP动词(POST,GET等)满足请求条件时显示的短代码。
短代码
当前插件支持以下短代码
[http_get_only] [http_post_only]
用法
将您想限制为特定HTTP动词的内容包装在短代码中。例如,如果您只想在POST动词被使用时显示内容
[http_post_only] 这个页面被POST了! [/http_post_only]
问题
有关此插件的问题,请在GitHub上报告 https://github.com/shawnhooper/http-verb-condtional-display-shortcode/