woocommerce_my_account_my_orders_actions

woocommerce_my_account_my_orders_actions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_my_account_my_orders_actions') is found 1 times:

  • /includes/wc-account-functions.php line 322
    	if ( ! in_array( $order->get_status(), apply_filters( 'woocommerce_valid_order_statuses_for_cancel', array( 'pending', 'failed' ), $order ), true ) ) {
    		unset( $actions['cancel'] );
    	}
    
    	return apply_filters( 'woocommerce_my_account_my_orders_actions', $actions, $order );
    }
    
    /**
     * Get account formatted address.
     *
     * @since  3.2.0
    

See this hook used in plugins: