bbp style pack new feature – bsp_enqueue_css_dependancy

[ad_1]

it is simply there for themes/plugins that deregister bbp-default css and register their own.

so if your theme then adds the bbpress code to say a file which is then registered as ‘new-css’ the you would add this to your child theme’s function file

add_filter ('bsp_enqueue_css_dependancy' , 'rew_css_dependancy') ;

function rew_css_dependancy ($dependancy = array()) {
               $dependancy = array('new-css') ;
return $dependancy ;     
}

Hi Robin

Perfect and thank you for the explanation, I will definitely be trying this new option

As always, great Plugin and great support 👍

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer