wp_mail_failed action-hook . WP 1.0
This filter is documented in wp-includes/pluggable.php
Usage
add_action( 'wp_mail_failed', 'action_function_name_6963' ); function action_function_name_6963( $WP_Error ){ // action... }
- $WP_Error
- -
Where the hook is called
wp-includes/pluggable.php 370
do_action( 'wp_mail_failed', new WP_Error( 'wp_mail_failed', $e->getMessage(), $mail_error_data ) );
wp-includes/pluggable.php 512
do_action( 'wp_mail_failed', new WP_Error( 'wp_mail_failed', $e->getMessage(), $mail_error_data ) );