wp_generator()WP 2.5.0

Displays the XHTML generator that is generated on the wp_head hook.

See wp_head.

Hooks from the function

Return

null. Nothing (null).

Usage

wp_generator();

Changelog

Since 2.5.0 Introduced.

wp_generator() code WP 6.7.1

function wp_generator() {
	/**
	 * Filters the output of the XHTML generator tag.
	 *
	 * @since 2.5.0
	 *
	 * @param string $generator_type The XHTML generator.
	 */
	the_generator( apply_filters( 'wp_generator_type', 'xhtml' ) );
}