Disable plus-minus buttons in WooCommerce if using the Astra Pro Addon

Disable plus-minus buttons in WooCommerce if using the Astra Pro Addon on child sites.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'astra_add_to_cart_quantity_btn_enabled', '__return_false' );