get_the_generator_{$type}

Advertisement

Summery Summery

Filters the HTML for the retrieved generator type.

Syntax Syntax

apply_filters( "get_the_generator_{$type}", string $gen, string $type )

Description Description

The dynamic portion of the hook name, $type, refers to the generator type.

Parameters Parameters

$gen

(string) The HTML markup output to wp_head().

$type

(string) The type of generator. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.

Source Source

File: wp-includes/general-template.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.