wp_error_added

wp_error_added

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('wp_error_added') is found 1 times:

  • /wp-includes/class-wp-error.php line 209
    		 * @param string     $message  Error message.
    		 * @param mixed      $data     Error data. Might be empty.
    		 * @param WP_Error   $wp_error The WP_Error object.
    		 */
    		do_action( 'wp_error_added', $code, $message, $data, $this );
    	}
    
    	/**
    	 * Adds data to an error with the given code.
    	 *
    	 * @since 2.1.0