WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about get_the_generator_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/general-template.php apply_filters 5053 /**
* Filters the HTML for the retrieved generator type.
*
* The dynamic portion of the hook name, `$type`, refers to the generator type.
*
* Possible hook names include:
*
* - `get_the_generator_atom`
* - `get_the_generator_comment`
* - `get_the_generator_export`
* - `get_the_generator_html`
* - `get_the_generator_rdf`
* - `get_the_generator_rss2`
* - `get_the_generator_xhtml`
*
* @since 2.5.0
*
* @param string $gen The HTML markup output to wp_head().
* @param string $type The type of generator. Accepts 'html', 'xhtml', 'atom',
* 'rss2', 'rdf', 'comment', 'export'.
*/

Hook Parameters

Parameter Type Name Description
string $gen The HTML markup output to wp_head().
string $type The type of generator. Accepts 'html', 'xhtml', 'atom',