wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



get_the_generator_{$type} › Les Filtres WordPress

Depuis2.5.0
Dépréciéen/a
apply_filters( "get_the_generator_{$type}", $gen, $type )
Paramètres: (2)
  • (string) $gen The HTML markup output to wp_head().
    Requis: Oui
  • (string) $type The type of generator. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
    Requis: Oui
Défini(e) dans:
Codex:

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




Source

return apply_filters( "get_the_generator_{$type}", $gen, $type );