the_generator

the_generator

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('the_generator') is found 1 times:

  • /wp-includes/general-template.php line 4995
    4991
    4992
    4993
    4994
    4995
    4996
    4997
    4998
    4999
    5000
    5001
         * @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