WP_Translation_File::error()publicWP 6.5.0

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() code WP 6.6.2

public function error() {
	return $this->error;
}