Summery Summery
Display the generator XML or Comment for RSS, ATOM, etc.
Syntax Syntax
Description Description
Returns the correct generator type for the requested output format. Allows for a plugin to filter generators overall the ‘the_generator’ filter.
Parameters Parameters
- $type
-
(Required) The type of generator to output - (html|xhtml|atom|rss2|rdf|comment|export).
Source Source
File: wp-includes/general-template.php
* * @param string $file file relative to wp-admin/ without its ".css" extension. * @return string */ function wp_admin_css_uri( $file = 'wp-admin' ) { if ( defined( 'WP_INSTALLING' ) ) { $_file = "./$file.css"; } else { $_file = admin_url( "$file.css" ); } $_file = add_query_arg( 'version', get_bloginfo( 'version' ), $_file );
Advertisement
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |