Created
June 12, 2013 15:58
-
-
Save WebEndevSnippets/5766651 to your computer and use it in GitHub Desktop.
Plugin: Conditionally Load TablePress Plugin CSS
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
/** | |
* Conditionally Load TablePress Plugin CSS | |
* | |
*/ | |
add_filter( 'tablepress_use_default_css', 'we_remove_tablepress_default_css' ); | |
function we_remove_tablepress_default_css() { | |
if ( ! is_front_page() ) { | |
return true; | |
} | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment