W3cubDocs

/WordPress

wp_footer()

Fire the wp_footer action.

Description

See ‘wp_footer’.

Source

File: wp-includes/general-template.php

function wp_footer() {
	/**
	 * Prints scripts or data before the closing body tag on the front end.
	 *
	 * @since 1.5.1
	 */
	do_action( 'wp_footer' );
}

Changelog

Version Description
1.5.1 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_footer