wp_footer()
Fires the wp_footer action.
Description
See ‘wp_footer’.
Source
File: wp-includes/general-template.php
.
View all references
function wp_footer() {
/**
* Prints scripts or data before the closing body tag on the front end.
*
* @since 1.5.1
*/
do_action( 'wp_footer' );
}
Hooks
- do_action( 'wp_footer' )
-
Prints scripts or data before the closing body tag on the front end.
Changelog
Version | Description |
---|---|
1.5.1 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
You can add javascript code to your site’s footer
Example: