wp_generator()WP 2.5.0

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

See wp_head.

Хуки из функции

Возвращает

null. Ничего (null).

Использование

wp_generator();

Список изменений

С версии 2.5.0 Введена.

Код wp_generator() WP 6.5.2

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