techalica/acf-extended

ACF Extended provides an object oriented API to register fields, groups and layouts with ACF.

1.0 2020-07-18 09:29 UTC

This package is auto-updated.

Last update: 2025-04-21 22:24:36 UTC


README

Register advanced custom fields with object oriented PHP.

ACF Extended provides an object oriented API to register fields, groups and layouts with ACF. Oh, and you don't have to worry about unique field keys.

Installation

Require this package, with Composer, in the root directory of your theme.

$ composer require techalica/acf-extended

Download the Advanced Custom Fields Pro plugin and put it in either the plugins or mu-plugins directory. Visit the WordPress dashboard and activate the plugin. Please note that this package supports ACF version 5.6 or later.

Usage

All the fields can be generated through calling their respective 'type' name function with a label as an argument.

fields()->text('Name')

Resources

Below you'll find a list of articles which can help you getting started and advance your custom fields knowledge.

License

MIT © Imad Beyg