Exports the errors in this object into the given one.
$errorWP_Errorrequired
public function export_to( WP_Error $error ) {
static::copy_errors( $this, $error );
}
| Version | Description |
|---|---|
| 5.6.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_error/export_to