diff --git a/src/flextype/core/Parsers/Shortcodes.php b/src/flextype/core/Parsers/Shortcodes.php index bda01738..78ce2b96 100644 --- a/src/flextype/core/Parsers/Shortcodes.php +++ b/src/flextype/core/Parsers/Shortcodes.php @@ -97,7 +97,7 @@ final class Shortcodes * * @param array $shortcodes Shortcodes to init. */ - public function initShortcodes(array $shortcodes): void + public function registerShortcodes(array $shortcodes): void { if ( count($shortcodes) <= 0 diff --git a/src/flextype/flextype.php b/src/flextype/flextype.php index e0ad0c42..c5b34dca 100644 --- a/src/flextype/flextype.php +++ b/src/flextype/flextype.php @@ -310,7 +310,7 @@ container()->set('cache', static function () { container()->set('parsers', new Parsers()); // Init Shortcodes -parsers()->shortcodes()->initShortcodes(registry()->get('flextype.settings.parsers.shortcodes.shortcodes')); +parsers()->shortcodes()->registerShortcodes(registry()->get('flextype.settings.parsers.shortcodes.shortcodes')); // Add Serializers Service container()->set('serializers', new Serializers());