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:

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.

Related Functions

the_generator, get_the_author, get_the_excerpt, get_the_category, get_the_author_id

Top Google Results

User discussions

wpseek mobile