Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




the_generator [ WordPress Function ]

the_generator ( $type )
Parameters:
  • (string) $type The type of generator to output - (html|xhtml|atom|rss2|rdf|comment|export).
Uses:
Defined at:



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

Returns the correct generator type for the requested output format. Allows for a plugin to filter generators overall the the_generator filter.

Source


<?php
function the_generator$type ) {
    echo 
apply_filters('the_generator'get_the_generator($type), $type) . "\n";
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics