mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 06:06:45 +02:00
feat(shortcodes): add [tr]
shortcode
This commit is contained in:
@@ -23,7 +23,7 @@ use function registry;
|
||||
|
||||
// Shortcode: [tr]
|
||||
parsers()->shortcodes()->addHandler('tr', static function (ShortcodeInterface $s) {
|
||||
if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.I18n.enabled')) {
|
||||
if (! registry()->get('flextype.settings.parsers.shortcodes.shortcodes.i18n.enabled')) {
|
||||
return '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user