Languages: English • 日本語 (Add your language)
Fire the 'wp_footer' action. Put this template tag immediately before </body> tag in a theme template (ex. footer.php, index.php).
<?php wp_footer(); ?>
This function does not accept any parameters.
wp-content/themes/twentyten/footer.php:
...
<?php
/* Always have wp_footer() just before the closing </body>
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
*/
wp_footer();
?>
</body>
</html>
wp_footer() is located in wp-includes/general-template.php.