Skip to content

Manual Windsor registration

Pre-release
Pre-release

Choose a tag to compare

@jofrysutanto jofrysutanto released this 16 Jun 07:21
· 42 commits to master since this release
c3ca525

Prior to this, bootstrap/start.php pose a naive assumption on the Wordpress installation setup.

Developers now must register Windsor based on their setup, for example from within their functions.php:

function register_acf_windsor()
{
    \Windsor\Capsule\Manager::make()->register();
}
add_action('acf/init', 'register_acf_windsor');