pre_wp_mail

pre_wp_mail

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_wp_mail') is found 1 times:

  • /wp-includes/pluggable.php line 214
    		 *     @type string|string[] $headers     Additional headers.
    		 *     @type string|string[] $attachments Paths to files to attach.
    		 * }
    		 */
    		$pre_wp_mail = apply_filters( 'pre_wp_mail', null, $atts );
    
    		if ( null !== $pre_wp_mail ) {
    			return $pre_wp_mail;
    		}
    
    		if ( isset( $atts['to'] ) ) {