get_the_generator
get_the_generator ( $type = '' )
Parameters:- (string) type The type of generator to return - (html|xhtml|atom|rss2|rdf|comment|export).
Returns:- (string|void) The HTML content for the generator.
Defined at: - Introduced in WordPress: 2.5.0
- Deprecated in WordPress: —
Description
Creates 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 on an individual basis using the
{@see 'get_the_generator_$type'} filter.