PHP code example of vena / acf-json
1. Go to this page and download the library: Download vena/acf-json library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vena / acf-json example snippets
$acfJson = new \vena\AcfJson\Loader(
[
// Group IDs to store and load
'group_61240bc1afe31',
'group_612524d9ef624',
],
// Path under which to create acf-json folder
// and store ACF's json for the groups
__DIR__
);