wp_register_script and wp_footer() hook
-
According to documentation on wp_register_script, it is indicated:
” $in_footer
(boolean) (optional) Normally scripts are placed in the <head> section. If this parameter is true the script is placed at the bottom of the <body>. This requires the theme to have the wp_footer() hook in the appropriate place. Note that you have to enqueue your script before wp_head is run, even if it will be placed in the footer. (New in WordPress 2.8)Default: false “
WHERE is the appropriate place for the wp-footer() hook to be in order to be able to set $in_footer to true”?
Thank you,
Selena Vella
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp_register_script and wp_footer() hook’ is closed to new replies.