wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



the_generator › Filtr WordPress Hooks

Od2.5.0
Przestarzałyn/a
apply_filters( 'the_generator', get_the_generator( $type )
Parametry: (2)
  • (string) $generator_type The generator output.
    Wymagane: Tak
  • (string) $type The type of generator to output. Accepts 'html', 'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the output of the XHTML generator tag for display.





Źródło

echo apply_filters( 'the_generator', get_the_generator( $type ), $type ) . "\n";