Filters the HTML for the retrieved generator type.
Description
The dynamic portion of the hook name, $type, refers to the generator type. Possible hook names include: <ul> <li>get_the_generator_atom</li> <li>get_the_generator_comment</li> <li>get_the_generator_export</li> <li>get_the_generator_html</li> <li>get_the_generator_rdf</li> <li>get_the_generator_rss2</li> <li>get_the_generator_xhtml</li> </ul>
Parameters
$genstring
The HTML markup output to wp_head().
$typestring
The type of generator. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
5464* @since 2.5.05465*5466* @param string$gen The HTML markup output to wp_head().5467* @param string$type The type of generator. Accepts 'html','xhtml','atom',5468*'rss2','rdf','comment','export'.5469*/5470returnapply_filters("get_the_generator_{$type}",$gen,$type);5471}54725473/**5474* Outputs the HTML checked attribute.5475*5476* Compares the first two arguments andif identical marks as checked.
History
Introduced in 2.5.0. Unchanged from 6.7.7 through 7.1.0.