woocommerce_admin_order_actions_start

woocommerce_admin_order_actions_start

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_admin_order_actions_start') is found 1 times:

  • /src/Internal/Admin/Orders/ListTable.php line 1210
    1206
    1207
    1208
    1209
    1210
    1211
    1212
    1213
    1214
    1215
    1216
    *
     * @param WC_Order $order Current order object.
     * @since 6.7.0
     */
    do_action( 'woocommerce_admin_order_actions_start', $order );
     
    $actions = array();
     
    if ( $order->has_status( array( 'pending', 'on-hold' ) ) ) {
        $actions['processing'] = array(
            'url'    => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_mark_order_status&status=processing&order_id=' . $order->get_id() ), 'woocommerce-mark-order-status' ),