| 1 |
<?php |
| 2 |
/** |
| 3 |
* Email Footer |
| 4 |
*/ |
| 5 |
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- Template variables in view files |
| 6 |
if ( ! defined( 'ABSPATH' ) ) { |
| 7 |
exit; |
| 8 |
} |
| 9 |
$poweredBy = apply_filters_deprecated( |
| 10 |
'fluentform_email_template_footer_credit', |
| 11 |
[ |
| 12 |
'Powered by <a href="https://wordpress.org/plugins/fluentform/">FluentForm</a>.', |
| 13 |
$form, |
| 14 |
$notification |
| 15 |
], |
| 16 |
FLUENTFORM_FRAMEWORK_UPGRADE, |
| 17 |
'fluentform/email_template_footer_credit', |
| 18 |
'Use fluentform/email_template_footer_credit instead of fluentform_email_template_footer_credit.' |
| 19 |
); |
| 20 |
$poweredBy = apply_filters('fluentform/email_template_footer_credit',$poweredBy, $form, $notification); |
| 21 |
if(defined('FLUENTFORMPRO')) { |
| 22 |
$poweredBy = ''; |
| 23 |
} |
| 24 |
?> |
| 25 |
</div></td></tr></table></td></tr></table></td></tr></table> |
| 26 |
<table border="0" cellpadding="10" cellspacing="0" width="600" id="template_footer"><tr><td valign="top"><table border="0" cellpadding="10" cellspacing="0" width="100%"><tr><td class="fluent_credit" colspan="2" valign="middle" id="credit"> |
| 27 |
<span><?php echo wp_kses_post($footerText); ?> <?php echo wp_kses_post($poweredBy); ?></span> |
| 28 |
<?php |
| 29 |
do_action_deprecated( |
| 30 |
'fluentform_email_template_after_footer', |
| 31 |
[ |
| 32 |
$form, |
| 33 |
$notification |
| 34 |
], |
| 35 |
FLUENTFORM_FRAMEWORK_UPGRADE, |
| 36 |
'fluentform/email_template_after_footer', |
| 37 |
'Use fluentform/email_template_after_footer instead of fluentform_email_template_after_footer.' |
| 38 |
); |
| 39 |
do_action( 'fluentform/email_template_after_footer', $form, $notification ); |
| 40 |
?> |
| 41 |
</td></tr></table></td></tr></table></td></tr></table></div></body></html> |
| 42 |
|