Fires before the "Filter" button on the list table for orders and other order types.
$this->order_type, $which
Sortie :
@param string $order_type The order type. @param string $which The location of the extra table nav: 'top' or 'bottom'.
// Ajouter une fonction au hook action 'woocommerce_order_list_table_restrict_manage_orders'
add_action('woocommerce_order_list_table_restrict_manage_orders', 'ma_fonction_personnalisee', 10, 1);
function ma_fonction_personnalisee($this->order_type, $which) {
// Votre code ici
error_log('Hook woocommerce_order_list_table_restrict_manage_orders déclenché');
}
Chargement des actualités...