b3_account_approved_message()

Description

Filters the content for the email message received by the user when an administrator has approved the request.

Arguments

  • $message
    (string) - Your custom email message.

Return

(string)   The email content sent to the user

Usage

  1. function b3_account_approved_message( $message ) {
  2.     return 'Hi %user_login%, your account has been approved. <a href="#">Click here</a> to set a password.';
  3. }
  4. add_filter( 'b3_account_approved_message', 'b3_account_approved_message' );

Used in

Tags