wp_error_added

wp_error_added

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_error_added') is found 1 times:

  • /wp-includes/class-wp-error.php line 209
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
         * @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