pre_wp_mail

pre_wp_mail

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_wp_mail') is found 1 times:

  • /wp-includes/pluggable.php line 214
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    *     @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'] ) ) {