Filters the output of the XHTML generator tag for display.
Parameters
$generator_type
string- The generator output.
$type
string- The type of generator to output. Accepts
'html'
,'xhtml'
,'atom'
,'rss2'
,'rdf'
,'comment'
,'export'
.
Source
echo apply_filters( 'the_generator', get_the_generator( $type ), $type ) . "\n";
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.