WordPress at a glance
filter is not described

the_generator filter-hook . WP 2.5.0

Filters the output of the XHTML generator tag for display.


add_filter( 'the_generator', 'filter_function_name_1016', 10, 2 );
function filter_function_name_1016( $generator_type, $type ){
	// filter...

	return $generator_type;
The generator output.
The type of generator to output. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.

Where the hook is called

wp-includes/general-template.php 4374
echo apply_filters( 'the_generator', get_the_generator( $type ), $type ) . "\n";

Where the hook is used (in WP core)

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