WordPress.org

Support

wp_footer

  • brianbonner
    Member

    @brianbonner

    I cannot find out what wp_footer does, it resides in the footer.php file. I am not loading the footer.php in my template so, I need to know what it does exactly. The codex is currently down, and a search led me to nothing.

Viewing 2 replies - 1 through 2 (of 2 total)
  • wp_footer

    Goes in the “footer” of a theme; footer.php template. This hook has no second parameter. Example plugin use: insert PHP code that needs to run after everything else.
    Usage: <?php do_action(‘wp_footer’); ?> -or- <?php wp_footer(); ?>

    brianbonner
    Member

    @brianbonner

    So you are saying it is used by certain plugins?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_footer’ is closed to new replies.