Fires when an error is added to a WP_Error object.
Parameters
Source
do_action( 'wp_error_added', $code, $message, $data, $this );
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |
CARVIEW |
Fires when an error is added to a WP_Error object.
do_action( 'wp_error_added', $code, $message, $data, $this );
Used by | Description |
---|---|
WP_Error::add()wp-includes/class-wp-error.php | Adds an error or appends an additional message to an existing error. |
Version | Description |
---|---|
5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.