wp_generator

Displays the XHTML generator that is generated on the wp_head hook.

Description

wp_generator(); 

See .


Usage

  1. if ( !function_exists( 'wp_generator' ) ) { 
  2. require_once ABSPATH . WPINC . '/general-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wp_generator(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/general-template.php  
  1. function wp_generator() { 
  2. /** 
  3. * Filters the output of the XHTML generator tag. 
  4. * @since 2.5.0 
  5. * @param string $generator_type The XHTML generator. 
  6. */