A WordPress-centric search engine for devs and theme authors



wp_generator ›

Since2.5.0
Deprecatedn/a
wp_generator ( No parameters )
Defined at:
Codex:

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

See {@see 'wp_head'}.



Source

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' ) );
}