logoscon/acf-plus 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 10
  • Watchers: 12
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-09-02