wpseek.com
A WordPress-centric search engine for devs and theme authors



the_generator › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'the_generator', get_the_generator( $type )
Parameters: (2)
  • (string) $generator_type The generator output.
    Required: Yes
  • (string) $type The type of generator to output. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
    Required: Yes
Defined at:
Codex:

Filters the output of the XHTML generator tag for display.





Source

echo apply_filters( 'the_generator', get_the_generator( $type ), $type ) . "\n";