wp_generator_type filter-hookWP 2.5.0

Filters the output of the XHTML generator tag.

Usage

add_filter( 'wp_generator_type', 'wp_kama_generator_type_filter' );

/**
 * Function for `wp_generator_type` filter-hook.
 * 
 * @param string $generator_type The XHTML generator.
 *
 * @return string
 */
function wp_kama_generator_type_filter( $generator_type ){

	// filter...
	return $generator_type;
}
$generator_type(string)
The XHTML generator.

Changelog

Since 2.5.0 Introduced.

Where the hook is called

wp_generator()
wp_generator_type
wp-includes/general-template.php 4685
the_generator( apply_filters( 'wp_generator_type', 'xhtml' ) );

Where the hook is used in WordPress

Usage not found.