From c74dab9c6137530d091771688bd025e27cf2ed5a Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 27 May 2022 17:19:26 +0300 Subject: [PATCH] chore(shortcodes): doc update for `php` shortcode --- src/flextype/core/Parsers/Shortcodes/PhpShortcode.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/flextype/core/Parsers/Shortcodes/PhpShortcode.php b/src/flextype/core/Parsers/Shortcodes/PhpShortcode.php index d63e87ee..ed4c48a6 100644 --- a/src/flextype/core/Parsers/Shortcodes/PhpShortcode.php +++ b/src/flextype/core/Parsers/Shortcodes/PhpShortcode.php @@ -20,6 +20,7 @@ use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: php // Usage: (php) php code here (/php) +// (php) php code here parsers()->shortcodes()->addHandler('php', static function (ShortcodeInterface $s) { if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.php.enabled')) { return '';