Advertisements

the_generator

Definition:
function the_generator( $type ) {}

Display the generator XML or Comment for RSS, ATOM, etc.
Returns the correct generator type for the requested output format. Allows for a plugin to filter generators overall the the_generator filter.

Parameters

  • string $type: The type of generator to output – (html|xhtml|atom|rss2|rdf|comment|export).

Defined filters

  • the_generator
    apply_filters('the_generator', get_the_generator($type)

Source code

function the_generator( $type ) {

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

}

3013

Advertisements

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: