mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-05 05:04:31 +00:00
Docs: @param fixes for a variety of docblocks.
See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@36232 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -622,6 +622,8 @@ function self_link() {
|
||||
* Return the content type for specified feed type.
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
|
||||
*/
|
||||
function feed_content_type( $type = '' ) {
|
||||
if ( empty($type) )
|
||||
@@ -642,8 +644,7 @@ function feed_content_type( $type = '' ) {
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @param string $content_type Content type indicating the type of data that a feed contains.
|
||||
* @param string $type Type of feed. Possible values include 'rss2', 'atom'.
|
||||
* Default 'rss2'.
|
||||
* @param string $type Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
|
||||
*/
|
||||
return apply_filters( 'feed_content_type', $content_type, $type );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user