Removing an action, or dequeueing style – Both not working

To clean up a complete array use the helper function __return_empty_array() as callback:

add_filter( 'woocommerce_screen_ids', '__return_empty_array', );

Similar helpers for further usage are:

  • __return_true()
  • __return_false()
  • __return_zero()
  • __return_null()