mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-01 11:52:25 +08:00
7 lines
338 B
Text
7 lines
338 B
Text
add_filter( 'mailpoet_unsubscribe_confirmation_page', 'mp_modify_unsubscribe_confirmation_page', 10, 2);
|
|
function mp_modify_unsubscribe_confirmation_page( $HTML, $unsubscribeUrl ) {
|
|
$HTML = '<hr>';
|
|
$HTML .= '<center>You can <a href="'.$unsubscribeUrl.'">click here</a> to unsubscribe.</center>';
|
|
$HTML .= '<hr>';
|
|
return $HTML;
|
|
}
|