wp_dequeue_style

105

wp_dequeue_style -

add_action( 'wp_enqueue_scripts', function() {
  if (! is_front_page()) { // allow widget style only in front page
      wp_dequeue_style('fpw_styles_css');
  }
});

Comments

Submit
0 Comments