WPDev.one
Core Function
View Source on Trac ↗

get_the_generator()

get_the_generator( mixed $type = '' )

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

Parameters 0 required

Name / Type Description
$type
string

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

Return Value

((string)
| void) The HTML content for the generator.

Function Information

Since Version
2.5.0
Source File
wp-includes/general-template.php
Advertisement