Exports the errors in this object into the given one.
Parameters
$error
WP_Errorrequired- Error object to export into.
Source
public function export_to( WP_Error $error ) {
static::copy_errors( $this, $error );
}
Changelog
Version | Description |
---|---|
5.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.