1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

feat(shortcodes): add field shortcode - typo fix

This commit is contained in:
Awilum
2022-05-25 19:18:35 +03:00
parent 9bf43d6b34
commit a60131607e

View File

@@ -19,7 +19,7 @@ namespace Flextype\Parsers\Shortcodes;
use Thunder\Shortcode\Shortcode\ShortcodeInterface;
use function registry;
// Shortcode: title
// Shortcode: field
// Usage: (field:title)
parsers()->shortcodes()->addHandler('field', static function (ShortcodeInterface $s) {
if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.field.enabled')) {