b3_new_wpmu_user_subject_admin()

Description

With this filter you can override the subject of the email sent to administrator(s) when a new (multisite) user registers.

Arguments

  • $subject
    (string) - The option set in the admin or else the default subject.

Return

(string)   Your custom email subject.

Usage

  1. function b3_override_new_wpmu_user_subject_admin( $message ) {
  2.     return 'Your subject';
  3. }
  4. add_filter( 'b3_new_wpmu_user_subject_admin', 'b3_override_new_wpmu_user_subject_admin' );

Used in

Tags