WordPress at a glance
function is not described

wp_generator() WP 2.5.0

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

See 'wp_head'.

Hooks in function
Return

Nothing (null).

Usage

wp_generator();

Code of wp generator: wp-includes/general-template.php VER 5.1.1

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