woocommerce_order_list_table_extra_tablenav

ACTION woocommerce\src\Internal\Admin\Orders\ListTable.php (ligne 798) github
Fires immediately following the closing "actions" div in the tablenav for the order list table.

Paramètres

Entrée :
$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'.

Utilisation

// Ajouter une fonction au hook action 'woocommerce_order_list_table_extra_tablenav'
add_action('woocommerce_order_list_table_extra_tablenav', 'ma_fonction_personnalisee', 10, 1);

function ma_fonction_personnalisee($this->order_type, $which) {
    // Votre code ici
    error_log('Hook woocommerce_order_list_table_extra_tablenav déclenché');
}

Actualités

Chargement des actualités...