woocommerce_after_dashboard_status_widget_parameter

FILTER woocommerce\includes\admin\class-wc-admin-dashboard.php (ligne 263) github
Filter to change the first argument passed to the `woocommerce_after_dashboard_status_widget` action. Please note that this filter is mainly for backward compatibility with the legacy reports. It's not recommended to use this filter as it will soon be deprecated along with the retiring of the legacy reports.

Paramètres

Entrée :
null
Sortie :
N/A

Utilisation

// Modifier la valeur avec le filtre 'woocommerce_after_dashboard_status_widget_parameter'
add_filter('woocommerce_after_dashboard_status_widget_parameter', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre(null) {
    // Modifier la valeur
    return null;
}

Actualités

Chargement des actualités...