WP_Error::export_to( WP_Error $error )

Exports the errors in this object into the given one.


Parameters Parameters

$error

(WP_Error) (Required) Error object to export into.


Top ↑

Source Source

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

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

Top ↑

Changelog 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.