WC_Emails::email_footer_replace_site_title │ public │ WC 3.3.0

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() code WC 11.2.2

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 );
}