wp_new_user_notification_email

wp_new_user_notification_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_new_user_notification_email') is found 1 times:

  • /wp-includes/pluggable.php line 2296
    		 * }
    		 * @param WP_User $user     User object for new user.
    		 * @param string  $blogname The site title.
    		 */
    		$wp_new_user_notification_email = apply_filters( 'wp_new_user_notification_email', $wp_new_user_notification_email, $user, $blogname );
    
    		wp_mail(
    			$wp_new_user_notification_email['to'],
    			wp_specialchars_decode( sprintf( $wp_new_user_notification_email['subject'], $blogname ) ),
    			$wp_new_user_notification_email['message'],
    			$wp_new_user_notification_email['headers']
    

Examples using wp_new_user_notification_email