Language_Pack_Upgrader_Skin::error()publicWP 5.9.0

Method of the class: Language_Pack_Upgrader_Skin{}

No Hooks.

Return

null. Nothing (null).

Usage

$Language_Pack_Upgrader_Skin = new Language_Pack_Upgrader_Skin();
$Language_Pack_Upgrader_Skin->error( $errors );
$errors(string|WP_Error) (required)
Errors.

Changelog

Since 5.9.0 Introduced.
Since 5.9.0 Renamed $error to $errors for PHP 8 named parameter support.

Language_Pack_Upgrader_Skin::error() code WP 6.5.4

public function error( $errors ) {
	echo '<div class="lp-error">';
	parent::error( $errors );
	echo '</div>';
}