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:
@@ -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 '';
|
||||
|
Reference in New Issue
Block a user