woocommerce_order_list_table_extra_tablenav
Fires immediately following the closing "actions" div in the tablenav for the order list table.
Usage
add_action( 'woocommerce_order_list_table_extra_tablenav', 'wp_kama_woocommerce_order_list_table_extra_tablenav_action', 10, 2 );
/**
* Function for `woocommerce_order_list_table_extra_tablenav` action-hook.
*
* @param string $order_type The order type.
* @param string $which The location of the extra table nav: 'top' or 'bottom'.
*
* @return void
*/
function wp_kama_woocommerce_order_list_table_extra_tablenav_action( $order_type, $which ){
// action...
}
- $order_type(string)
- The order type.
- $which(string)
- The location of the extra table nav: 'top' or 'bottom'.
Changelog
| Since 7.3.0 | Introduced. |
Where the hook is called
woocommerce_order_list_table_extra_tablenav
woocommerce/src/Internal/Admin/Orders/ListTable.php 810
do_action( 'woocommerce_order_list_table_extra_tablenav', $this->order_type, $which );