wp_generator()
Displays the XHTML generator that is generated on the wp_head hook.
Description Description
See ‘wp_head’.
Source Source
File: wp-includes/general-template.php
function wp_generator() { /** * Filters the output of the XHTML generator tag. * * @since 2.5.0 * * @param string $generator_type The XHTML generator. */ the_generator( apply_filters( 'wp_generator_type', 'xhtml' ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
Use Case: Remove the WordPress version number.
Add the following to your theme functions.php or plugin: