How Do I Edit The Content Of The Emails?
Currently The Only Way The Content Of The Emails Can Be Modified Is By Using Filters.
/**
* Modify the message sent to a user after being approved.
*
* @param $message The default message.
* @param $user The user who will receive the message.
* @return string the updated message.
*/
function my_custom_message( $message, $user ) {
$message = 'Custom message here';
return $message;
}
// add a new custom approval message
add_filter( 'new_user_approve_approve_user_message', 'my_custom_message', 10, 2 );
// add a new custom denial message
add_filter( 'new_user_approve_deny_user_message', 'my_custom_message', 10, 2 );
The Options Addon Provides A User Interface To Modify The Content Of All Emails Sent By The Plugin.