PHP code example of helsingborg-stad / acf-export-manager

1. Go to this page and download the library: Download helsingborg-stad/acf-export-manager 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/ */

    

helsingborg-stad / acf-export-manager example snippets



$acfExportManager = new HelsingborgsStad\AcfExportManager();

$acfExportManager->setExportFolder('path/to/destination/folder');

$acfExportManager->autoExport(array(
    'group_58b6e40e5a8f4',
    'halloj' => 'group_58b80e0111556'
));

$acfExportManager->import();

$acfExportManager->setTextdomain('my-text-domain');