On this page
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.
Related
Uses
| Uses | Description |
|---|---|
| do_action() wp-includes/plugin.php | Calls the callback functions that have been added to an action hook. |
Used By
| Used By | Description |
|---|---|
| WP_REST_Widget_Types_Controller::render_legacy_widget_preview_iframe() wp-includes/rest-api/endpoints/class-wp-rest-widget-types-controller.php | Renders a page containing a preview of the requested Legacy Widget block. |
Changelog
| Version | Description |
|---|---|
| 1.5.1 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_footer