Méthode | Description | |
---|---|---|
__construct ( string $plugin_base_name, string $plugin_name, array $errors = [] ) | Constructor. Sets up the properties. | |
deactivate_plugin ( ) : void | Deactivates the plugin, and renders an according admin notice. |
Méthode | Description | |
---|---|---|
get_errors_as_string ( ) : string | Returns the according string for all error messages to be displayed in the admin notice. | |
render_admin_notice ( ) : void | Renders an admin notice informing about the plugin deactivation, including potential error messages. |
public deactivate_plugin ( ) : void | ||
Résultat | void |