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.5.2

apply_filters('woocommerce_my_account_my_orders_actions') is found 1 times:

  • /includes/wc-account-functions.php line 328
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
        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: