Language_Pack_Upgrader_Skin::error( string|WP_Error $error )
Parameters
- $error
-
(string|WP_Error) (Required)
Source
File: wp-admin/includes/class-language-pack-upgrader-skin.php
public function error( $error ) { echo '<div class="lp-error">'; parent::error( $error ); echo '</div>'; }
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/language_pack_upgrader_skin/error