WP_Error::export_to( WP_Error $error )

In this article

Exports the errors in this object into the given one.

Parameters

$errorWP_Errorrequired
Error object to export into.

Source

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

Changelog

VersionDescription
5.6.0Introduced.

User Contributed Notes

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