Skip to content

Instantly share code, notes, and snippets.

Created August 21, 2021 02:23
What would you like to do?
Enfold - Filter to skip css file generation
* Filter to skip css file generation.
* You can add logic to skip for certain pages/posts only.
* @since
* @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