woocommerce_dashboard_status_widget_reports

FILTER woocommerce\includes\admin\class-wc-admin-dashboard.php (ligne 184) github
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.

Paramètres

Entrée :
$status_widget_reports
Sortie :
N/A

Utilisation

// 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;
}

Actualités

Chargement des actualités...