WordPress函数:wp_generator
一、函数简介
显示在wp_head钩子上生成的XHTML生成器。(Displays the XHTML generator that is generated on the wp_head hook.)
二、函数参数
三、函数案例
<?php wp_generator() ?>
四、源代码
/**
* Displays the XHTML generator that is generated on the wp_head hook.
*
* See {@see 'wp_head'}.
*
* @since 2.5.0
*/
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' ) );
}
THE END