WordPress at Your Fingertips
function is not described

WC_Emails::email_footer_replace_site_title() public WC 3.3.0

Deprecated from version 3.7.0. It is no longer supported and can 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

{} It's a method of the class: WC_Emails{}

No Hooks.


String. Email footer text with any replacements done.


$WC_Emails = new WC_Emails();
$WC_Emails->email_footer_replace_site_title( $string );
$string(string) (required)
Email footer text.


Since 3.3.0 Introduced.
Deprecated 3.7.0

Code of WC_Emails::email_footer_replace_site_title() WC 5.6.0

public function email_footer_replace_site_title( $string ) {
	wc_deprecated_function( 'WC_Emails::email_footer_replace_site_title', '3.7.0', 'WC_Emails::replace_placeholders' );
	return $this->replace_placeholders( $string );