logoscon/acf-plus
最新稳定版本:1.1.0
Composer 安装命令:
composer require logoscon/acf-plus
包简介
Common utility classes for the Advanced Custom Fields (Pro) plugin on WordPress.
README 文档
README
Common utility classes for the Advanced Custom Fields (Pro) plugin on WordPress.
Usage
Field Groups
Extend the \logoscon\ACF\Group class, defining the _register() method:
class My_Group extends \logoscon\ACF\Group { protected function _register() { // My field group definition. } }
This method should contain (at the very least) the code exported by Advanced Custom Fields, although you're encouraged to improve its maintainability. To help make code clearer, the following helper methods are provided:
_field_tab_location_is_location_in(see\logoscon\ACF\Rule\Operator\In)_location_are
Support for the IN operator in location rules
\logoscon\ACF\Rule\Operator\In::register();
Changelog
1.1.0
- Multiple location rule builder for equality checks.
1.0.0
- Initial release.
统计信息
- 总下载量: 23.2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-09-02