Created
July 24, 2016 00:27
-
-
Save shawnkfinn/bf55b9ee57a153a0c2fa1b1e2ce230d6 to your computer and use it in GitHub Desktop.
Conditional Load WPCF7 assets - use this if globally disabling them first
This file contains hidden or 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
<?php // Copy and Paste snippet below into child-theme functions or custom plugin -- DELETE THIS LINE | |
// Conditional Load WPCF7 assets - use this if globally disabling them first | |
if ( function_exists( 'wpcf7_enqueue_scripts' ) ) { | |
wpcf7_enqueue_scripts(); | |
} | |
if ( function_exists( 'wpcf7_enqueue_styles' ) ) { | |
wpcf7_enqueue_styles(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment