diff --git a/library/Bootstrap.php b/library/Bootstrap.php index 7566f1d11..5ebbe53fa 100644 --- a/library/Bootstrap.php +++ b/library/Bootstrap.php @@ -44,6 +44,12 @@ $wpService = new NativeWpService(); $acfService = new NativeAcfService(); +/** + * Service helpers. + */ +\Municipio\Helper\AcfService::set($acfService); +\Municipio\Helper\WpService::set($wpService); + /** * Acf auto import and export */ diff --git a/library/Helper/AcfService.php b/library/Helper/AcfService.php new file mode 100644 index 000000000..d547df211 --- /dev/null +++ b/library/Helper/AcfService.php @@ -0,0 +1,44 @@ +