WP_Error::get_error_data

SummerySummery

Retrieve error data for error code.

Syntax

WP_Error::get_error_data( string|int $code = '' )

ParametersParameters

$code

(string|int) (Optional) Error code.

Default value: ''

ReturnReturn

(mixed) Error data, if it exists.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.
Scroll to Top