wp_error_added WordPress Action Hook
The wp_error_added hook is triggered when an error is added to a WP_Error object.
do_action( 'wp_error_added', string|int $code , string $message , mixed $data , WP_Error $wp_error ) #
Fires when an error is added to a WP_Error object.
Parameters
Source
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |