Created
October 8, 2018 14:35
-
-
Save chrisvasey/e0f4ec32cc9f367ba0e2082cad81f71a to your computer and use it in GitHub Desktop.
Adds JS script to login page
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
function load_login_page_js() { | |
wp_enqueue_script('login', get_template_directory_uri() . '/assets/js/login-link.js', null, null, true); | |
} | |
add_action('login_enqueue_scripts', 'load_login_page_js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment