Created
October 1, 2015 22:02
-
-
Save amdrew/1ebc1fc4b7ac440a5e50 to your computer and use it in GitHub Desktop.
AffiliateWP - Force front-end scripts for a particular page
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
<?php | |
function affwp_custom_force_frontend_scripts() { | |
if ( is_page( 123 ) ) { | |
return true; | |
} | |
} | |
add_filter( 'affwp_force_frontend_scripts', 'affwp_custom_force_frontend_scripts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment