apply_filters( "get_the_generator_{$type}", string $gen , string $type )
Filters the HTML for the retrieved generator type.
Description
The dynamic portion of the hook name, $type, refers to the generator type.
Possible hook names include:
get_the_generator_atomget_the_generator_commentget_the_generator_exportget_the_generator_htmlget_the_generator_rdfget_the_generator_rss2
Parameters
- $gen
-
The HTML markup output to wp_head().
- $type
-
The type of generator. Accepts 'html', atom', 'rss2', 'rdf', 'comment', 'export'.
Source
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |