Merges the errors in the given error object into this one.
$errorWP_Errorrequired
public function merge_from( WP_Error $error ) {
static::copy_errors( $error, $this );
}
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_error/merge_from