WP_Error::merge_from( WP_Error $error )
Merges the errors in the given error object into this one.
Parameters
-
$error
WP_Error Required -
Error object to merge.
Source
File: wp-includes/class-wp-error.php
.
View all references
public function merge_from( WP_Error $error ) {
static::copy_errors( $error, $this );
}
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |