A WordPress-centric search engine for devs and theme authors



get_the_generator_{$type} ›

Since2.5.0
Deprecatedn/a
apply_filters( "get_the_generator_{$type}", $gen, $type )
Parameters: (2)
  • (string) $gen The HTML markup output to wp_head().
    Required: Yes
  • (string) $type The type of generator. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
    Required: Yes
Defined at:
Codex:

Filters the HTML for the retrieved generator type.

The dynamic portion of the hook name, $type, refers to the generator type.





Source

return apply_filters( "get_the_generator_{$type}", $gen, $type );