WP_Error::merge_from( WP_Error $error )

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

Parameters Parameters


(WP_Error) (Required) Error object to merge.

Top ↑

Source Source

File: wp-includes/class-wp-error.php

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

Top ↑

Changelog Changelog

Version Description
5.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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