Filters the output of the XHTML generator tag for display.
$generator_typestring
$typestring
'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.echo apply_filters( 'the_generator', get_the_generator( $type ), $type ) . "\n";
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/the_generator