Skip to content

Missing the pre_wp_mail hook #218

@theRealRizeo

Description

@theRealRizeo

The wp_mail override in

function wp_mail( $to, $subject, $message, $headers = '', $attachments = []) {
is missing the pre_wp_mail hook that is used in many plugins to check for email spam.
Can this be added for consistency with the wp_mail function shipped in core https://github.com/WordPress/wordpress-develop/blob/6.9.4/src/wp-includes/pluggable.php#L231-L231 thats been there since 5.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions