Download the PHP package kaiseki/wp-acf without Composer
On this page you can find all versions of the php package kaiseki/wp-acf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kaiseki/wp-acf
More information about kaiseki/wp-acf
Files in kaiseki/wp-acf
Package wp-acf
Short Description Advanced Custom Fields (ACF) helpers for WordPress: local JSON sync, a Google Maps API key provider, and a WP-CLI field-group sync command
License MIT
Homepage https://github.com/kaisekidev/kaiseki-wp-acf
Informations about the package wp-acf
kaiseki/wp-acf
Advanced Custom Fields (ACF) helpers for WordPress: local JSON sync, a Google Maps API key provider, and a WP-CLI field-group sync command.
Three small pieces wired through ConfigProvider and driven by the acf config key:
LocalJson— configures ACF's local-JSON load/save paths.GoogleApiKey— sets ACF'sgoogle_api_keysetting (from config or theGOOGLE_MAPS_API_KEYconstant).SyncFieldGroups— akaiseki acf-sync-field-groupsWP-CLI command that imports all local-JSON field groups into the database.
Installation
Requires PHP 8.2 or newer. Expects the ACF (Pro) plugin to be active at runtime.
Usage
Register ConfigProvider with your laminas-style config aggregator and configure the acf key:
ConfigProvider registers factories for LocalJson and GoogleApiKey, and the SyncFieldGroups
WP-CLI command as a hook provider. The Google API key can also come from the GOOGLE_MAPS_API_KEY
constant, which takes precedence over the config value.
Sync local JSON field groups to the database:
Development
License
MIT — see LICENSE.
All versions of wp-acf with dependencies
ext-json Version *
kaiseki/config Version ^2.0
kaiseki/wp-cli-util Version ^1.0
kaiseki/wp-env Version ^1.0
kaiseki/wp-hook Version ^2.0
psr/container Version ^1.1 || ^2.0