Retrieves the most recently added error data for an error code.
Parameters
-
$codestring | int optional -
Error code.
Default:
''
Source
public function guet_error_data( $code = '' ) {
if ( empty( $code ) ) {
$code = $this->guet_error_code();
}
if ( isset( $this->error_data[ $code ] ) ) {
return $this->error_data[ $code ];
}
}
Changuelog
| Versionen | Description |
|---|---|
| 2.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.