Viewing 1 replies (of 1 total)
  • Plugin Author Javier Carazo

    (@carazo)

    Oh thanks I would use it in the new version, I have just read it in the core.

    if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) {
    		/**
    		 * Filter whether to send the email change email.
    		 *
    		 * @since 4.3.0
    		 *
    		 * @see wp_insert_user() For <code>$user</code> and <code>$userdata</code> fields.
    		 *
    		 * @param bool  $send     Whether to send the email.
    		 * @param array $user     The original user array.
    		 * @param array $userdata The updated user array.
    		 *
    		 */
    		$send_email_change_email = apply_filters( 'send_email_change_email', true, $user, $userdata );
    	}

    Thanks!!!

Viewing 1 replies (of 1 total)
  • The topic ‘WARNING – WP 4.3 and automatic email notifications!’ is closed to new replies.