{"repo":"devgeniem/acf-codifier","free":true,"listed":false,"github":"https://github.com/devgeniem/acf-codifier","clone":"git clone https://github.com/devgeniem/acf-codifier.git","description":"A wrapper class to help write more readable ACF field declarations.","language":"PHP","stars":133,"topics":["wordpress","wordpress-plugin","acf","advanced-custom-fields","acf-codifier"],"license":null,"category":"self-hosted-apps","readme_excerpt":"ACF Codifier - Contributors: devgeniem / Nomafin - Tags: wordpress, acf - Requires at least: 4.6.0 - Tested up to: 5.6.3 - License: GPL-3.0 or later - License URI: http://www.gnu.org/licenses/gpl-3.0.html Description A helper class to make defining ACF field groups and fields easier in the code. A complete documentation of the classes can be found here. Installation The recommended way to install ACF Codifier is by Composer: OR add it in your composer.json : Installing the plugin with Composer requires Bedrock's autoloader. It installs as an mu-plugin and doesn't need to be activated. You can, however, install it also as an ordinary plugin. It can be done in two ways: - Clone this repository into your plugins directory and run composer install --no-dev in the repository folder. - Download the latest release here and just extract the archive in your plugins directory. Usage All classes of the Codifier are under the namespace Geniem\\ACF . For easiness, it's better to put your declarations in separate file(s) and declare namespace Geniem\\ACF; on top of them. Rest of this ReadMe supposes you have done that. Creating a field group. Field groups live in a class called Group . New group is thus created with: This will create a new field group with Field Group as its title and field-group as the key. If you want to define the key yourself, you can either give it as the second parameter to the constructor or use: You can also change the title of the group later with set title() method","default_branch":null,"files":null,"tree":[],"storefront":"/r/devgeniem","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/devgeniem/acf-codifier/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}