WP_Error::merge_from( WP_Error $error )

In this article

Merges the errors in the given error object into this one.

Parameters

$errorWP_Errorrequired
Error object to merge.

Source

public function merge_from( WP_Error $error ) {
	static::copy_errors( $error, $this );
}

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.