WC_Emails::email_footer_replace_site_title()publicWC 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

Method of the class: WC_Emails{}

No Hooks.

Return

String. Email footer text with any replacements done.

Usage

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

Changelog

Since 3.3.0 Introduced.
Deprecated since 3.7.0

WC_Emails::email_footer_replace_site_title() code WC 8.9.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 );
}