PHP code example of jofrysutanto / windsor
1. Go to this page and download the library: Download jofrysutanto/windsor 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/ */
jofrysutanto / windsor example snippets
function register_acf_windsor()
{
\Windsor\Capsule\Manager::make()->register();
}
add_action('acf/init', 'register_acf_windsor');
function register_acf_windsor()
{
\Windsor\Capsule\Manager::make([
'ui' => true
])
->register();
}
add_action('acf/init', 'register_acf_windsor');