Filter to change the reports of the status widget on the Dashboard page. Please note that this filter is mainly for backward compatibility with the legacy reports. It's not recommended to use this filter to change the data of this widget.
$status_widget_reports
Sortie :
// Modifier la valeur avec le filtre 'woocommerce_dashboard_status_widget_reports'
add_filter('woocommerce_dashboard_status_widget_reports', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre($status_widget_reports) {
// Modifier la valeur
return $status_widget_reports;
}
Chargement des actualités...