Résumé IA
Description
Le filtre wpforms_admin_dashboardwidget est utilisé pour masquer le widget de tableau de bord WPForms sur la page du tableau de bord WordPress.
Paramètres
- $afficher
- (bool) (Requis) Détermine si le widget du tableau de bord s'affichera, la valeur par défaut est
true(pour afficher)
Source
wpforms/src/Pro/Admin/DashboardWidget.php
Plus d'informations
Le filtre wpforms_admin_dashboardwidget peut être utilisé pour masquer le widget de tableau de bord WPForms qui apparaît sur la page principale du tableau de bord WordPress.
Exemple
/* * Hide the dashboard widget * * @link https://wpforms.com/developers/wpforms_admin_dashboardwidget/ * * @param bool $show Default is true. * @return bool */ add_filter( 'wpforms_admin_dashboardwidget', '__return_false' );
Articles associés
Référence d'article : Comment désactiver le widget de tableau de bord WPForms