Enfold - Filter to skip css file generation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Filter to skip css file generation. | |
* You can add logic to skip for certain pages/posts only. | |
* | |
* @since 4.8.6.1 | |
* @param boolean $create | |
* @return boolean true | false or anything else to skip generation of css file | |
*/ | |
function custom_avf_post_css_create_file( $create ) | |
{ | |
return false; | |
} | |
add_filter( 'avf_post_css_create_file', 'custom_avf_post_css_create_file', 10, 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment