Definition:
function the_generator( $type ) {}
Display the generator XML or Comment for RSS, ATOM, etc.
Returns the correct generator type for the requested output format. Allows for a plugin to filter generators overall the the_generator filter.
Parameters
- string $type: The type of generator to output – (html|xhtml|atom|rss2|rdf|comment|export).
Defined filters
- the_generator
apply_filters('the_generator', get_the_generator($type)
Source code
function the_generator( $type ) { echo apply_filters('the_generator', get_the_generator($type), $type) . "\n"; }
3013
No comments yet... Be the first to leave a reply!