wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_generator › WordPress Function

Since2.5.0
已弃用n/a
wp_generator ( 没有参数 )
定义在:
文档:

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

See {@see 'wp_head'}.


源码

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