the_generator

the_generator

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('the_generator') is found 1 times:

  • /wp-includes/general-template.php line 4961
    	 * @param string $generator_type The generator output.
    	 * @param string $type           The type of generator to output. Accepts 'html',
    	 *                               'xhtml', 'atom', 'rss2', 'rdf', 'comment', 'export'.
    	 */
    	echo apply_filters( 'the_generator', get_the_generator( $type ), $type ) . "\n";
    }
    
    /**
     * Creates the generator XML or Comment for RSS, ATOM, etc.
     *
     * Returns the correct generator type for the requested output format. Allows
    

Examples using the_generator