WC_Emails::email_footer_replace_site_title
Deprecated since 3.7.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Filter callback to replace {site_title} in email footer
Method of the class: WC_Emails{}
No Hooks.
Returns
String. Email footer text with any replacements done.
Usage
$WC_Emails = new WC_Emails(); $WC_Emails->email_footer_replace_site_title( $text );
- $text(string) (required)
- Email footer text.
Changelog
| Since 3.3.0 | Introduced. |
| Deprecated since | 3.7.0 |
WC_Emails::email_footer_replace_site_title() WC Emails::email footer replace site title code WC 10.5.0
public function email_footer_replace_site_title( $text ) {
wc_deprecated_function( 'WC_Emails::email_footer_replace_site_title', '3.7.0', 'WC_Emails::replace_placeholders' );
return $this->replace_placeholders( $text );
}