MainWP Community

Remove the on-hold bulk action in WooCommerce

Remove the on-hold bulk action in WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'bulk_actions-edit-shop_order', 'remove_a_bulk_order_action', 20, 1 );
function remove_a_bulk_order_action( $actions ) {
    unset($actions['mark_on-hold']);

    return $actions;
}
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.