b3_notification_sender_email()

Description

Filters the email used as 'sender address' in all emails.

Arguments

  • $email
    (string) - The email from which email will be sent.

Return

(string)   The sender's email address

Usage

  1. function b3_notification_sender_email( $email ) {
  2.     $email = 'email@sender-address.com';
  3.  
  4.     return $email;
  5. }
  6. add_filter( 'b3_notification_sender_email', 'b3_notification_sender_email' );

Used in

Tags