1
0
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:
Awilum
2022-05-10 19:26:27 +03:00
parent e4eb0e5dc6
commit 4461cb0d64

View File

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