I hereby claim:
- I am Phlag on github.
- I am phlag (https://keybase.io/phlag) on keybase.
- I have a public key whose fingerprint is 56DC 8AA6 324A ACE2 0604 4844 7D7A D6DD 591E E0F7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Plugin Name: Convert ACF PHP to JSON | |
* Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
*/ | |
namespace ConvertAcfPhpToJson; | |
/** | |
* Add submenu item under 'Custom Fields' |
<?php | |
class Product | |
{ | |
public function __construct() | |
{ | |
add_action( 'rest_api_init', [$this, 'register_api'] ); | |
} | |
public function register_api() |