remove compiler fragment?


Is it possible to remove a fragment that was added using the beans_compiler_add_fragment() function? I'm asking this, because I want to replace beans' style.less file rather than overwrite it. Right now the only way I seem to be able to do it (and it's not the good way) is to comment out the line of code that adds it in the assets.php file:

beans_compiler_add_fragment( 'uikit', BEANS_ASSETS_PATH . 'less/style.less', 'less' );

If it's possible to remove this particular fragment through a child theme I'd be glad to hear it!



Write a reply

Login or register to write a reply, it's free!