Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register scripts before enqueuing them #2

Open
wonkeythemonkey opened this issue Sep 26, 2018 · 0 comments
Open

Register scripts before enqueuing them #2

wonkeythemonkey opened this issue Sep 26, 2018 · 0 comments
Assignees

Comments

@wonkeythemonkey
Copy link
Contributor

For some reason, it seems it's best practice to call wp_register_script() before using wp_enqueue_script(): https://stackoverflow.com/questions/19263390/wordpress-loading-multiple-scripts-with-enqueue

Find out if there is any real advantage to doing that in the local_script shortcode, and implement it if the answer is yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant