• Resolved Andreslav

    (@andreslav)


    When trying to disable dashicons output, plugin styles stop displaying: variation-swatches-woo/assets/css/swatches.css

    if ( !is_admin_bar_showing() && !is_customize_preview() ) {
      wp_dequeue_style('dashicons');
      wp_deregister_style('dashicons');
    }

    I think it is necessary to make the plugin independent of dashicons, because icons (in my case) are not used on the product page.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to disable dashicons output / feature request’ is closed to new replies.