the_generator

SummerySummery

Display the generator XML or Comment for RSS, ATOM, etc.

Syntax

the_generator( string $type )

DescriptionDescription

Returns the correct generator type for the requested output format. Allows for a plugin to filter generators overall the ‘the_generator’ filter.

ParametersParameters

$type

(string) (Required) The type of generator to output - (html|xhtml|atom|rss2|rdf|comment|export).

SourceSource

File: wp-includes/general-template.php


			

ChangelogChangelog

Changelog
Version Description
2.5.0 Introduced.
Scroll to Top