actionable/http-verb-condtional-display-shortcode
Composer 安装命令:
composer require actionable/http-verb-condtional-display-shortcode
包简介
A WordPress shortcode that only displays content if page is called with a specific verb (GET/POST/etc)
README 文档
README
Shortcodes that restrict a block of content to only be displayed if the HTTP verb used to call the page (POST, GET, etc.) meets the requested criteria.
Shortcodes
The plugin currently supports the following shortcodes:
[http_get_only] [http_post_only]
Usage
Wrap content that you want to restrict to a given HTTP verb in the shortcode. For example, if you wanted to only display content if the POST verb was used:
[http_post_only] This page was POSTed! [/http_post_only]
Issues
Please report any issues with this plugin on GitHub at https://github.com/shawnhooper/http-verb-condtional-display-shortcode/
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2016-08-24