Replies
Viewing 4 posts - 1 through 4 (of 4 total)
// For filtering user email message.
add_filter( ‘wpuln_successful_login_user_email_message’, function ( $message, $user ) {
return $message;
}, 10, 2 );function custom_login_email_message( $message, $user ) {
// Modify the $message as needed
$modified_message = ‘<p>New Content</p>’;
return $modified_message;
}
add_filter( ‘wpuln_successful_login_user_email_message’, ‘custom_login_email_message’, 10, 2 );I am using like this so I also need to send
// Additional headers
$headers = array(
‘Content-Type: text/html; charset=UTF-8’,
);How to do that
Viewing 4 posts - 1 through 4 (of 4 total)