WP_Translation_File::error()
Returns the current error information.
Method of the class: WP_Translation_File{}
No Hooks.
Return
String|null
. Error message or null if no error.
Usage
$WP_Translation_File = new WP_Translation_File(); $WP_Translation_File->error();
Changelog
Since 6.5.0 | Introduced. |
WP_Translation_File::error() WP Translation File::error code WP 6.6.2
public function error() { return $this->error; }