feed_content_type

feed_content_type

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('feed_content_type') is found 1 times:

  • /wp-includes/feed.php line 787
    	 *
    	 * @param string $content_type Content type indicating the type of data that a feed contains.
    	 * @param string $type         Type of feed. Possible values include 'rss', rss2', 'atom', and 'rdf'.
    	 */
    	return apply_filters( 'feed_content_type', $content_type, $type );
    }
    
    /**
     * Builds SimplePie object based on RSS or Atom feed from URL.
     *
     * @since 2.8.0