woocommerce_my_account_my_orders_actions
Usage
add_filter( 'woocommerce_my_account_my_orders_actions', 'wp_kama_woocommerce_my_account_orders_actions_filter', 10, 2 ); /** * Function for `woocommerce_my_account_my_orders_actions` filter-hook. * * @param $actions * @param $order * * @return */ function wp_kama_woocommerce_my_account_orders_actions_filter( $actions, $order ){ // filter... return $actions; }
- $actions
- -
- $order
- -
Where the hook is called
woocommerce_my_account_my_orders_actions
woocommerce/includes/wc-account-functions.php 328
return apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order );