Changes the text of the privacy policy link in the legacy email footer. Does not apply when using the footer block.
add_filter( 'gettext', 'gh_change_privacy_policy' );
/**
* Change "Privacy Policy" in footer
*
* @param $text string
* @return $text string
* * * * * * * * * * * * * * * * * * */
function gh_change_privacy_policy( $text ) {
$text = str_ireplace( "Privacy Policy", "Privacy Disclosure", $text );
return $text;
}
Was this helpful?
Let us know if this document answered your question. That’s the only way we can improve.
