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

do_action('woocommerce_admin_order_actions_start') is found 1 times:

  • /src/Internal/Admin/Orders/ListTable.php line 1148
    		 *
    		 * @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' ),