the_generator WordPress Filter Hook
The the_generator WordPress hook is used to generate content for the WordPress website. This hook can be used to generate content for the front page, posts, pages, and other parts of the website.
apply_filters( 'the_generator', string $generator_type , string $type ) #
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
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |