wpseek.com
A WordPress-centric search engine for devs and theme authors
pre_wp_mail › WordPress Filter Hooks
Since5.7.0
Deprecatedn/a
› apply_filters( 'pre_wp_mail', null, $atts )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters whether to preempt sending an email.
Returning a non-null value will short-circuit {@see wp_mail()}, returning that value instead. A boolean return value should be used to indicate whether the email was successfully sent.
Related Functions: wp_mail, _wp_emoji_list, wp_salt, wp_meta, the_post_thumbnail, set_post_thumbnail