1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 13:16:45 +02:00

chore(shortcodes): doc update for php shortcode

This commit is contained in:
Awilum
2022-05-27 17:19:26 +03:00
parent 467758eba8
commit c74dab9c61

View File

@@ -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 '';