Last active
January 19, 2017 16:34
-
-
Save 1337hero/bf3eb39b4a68e9747b334db8117188d1 to your computer and use it in GitHub Desktop.
WordPress Custom Script
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
// Register Script | |
function scripts() { | |
wp_register_script( 'scripts', 'xxx.com', false, '1.0', false ); | |
wp_enqueue_script( 'scripts' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'scripts' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment