Add support for [site:title] and [site:homepage_link]
These will add support for these two shortcodes in the Shortcode engine MAILPOET-4599
This commit is contained in:
committed by
Aschepikov
parent
80f22c5b50
commit
f92ee90e9b
@@ -111,6 +111,16 @@ class ShortcodesHelper {
|
||||
),
|
||||
],
|
||||
],
|
||||
__('Site', 'mailpoet') => [
|
||||
[
|
||||
'text' => __('Site title', 'mailpoet'),
|
||||
'shortcode' => '[site:title]',
|
||||
],
|
||||
[
|
||||
'text' => __('Homepage link', 'mailpoet'),
|
||||
'shortcode' => '[site:homepage_link]',
|
||||
],
|
||||
],
|
||||
];
|
||||
$customFields = $this->getCustomFields();
|
||||
if (count($customFields) > 0) {
|
||||
|
Reference in New Issue
Block a user