wp_feed_options WordPress Action Hook

The wp_feed_options hook is used to modify the default feed options for a Wordpress site. This hook can be used to change the default feed URL, the default feed title, the default feed description, the default feed language, or the default feed encoding.

do_action_ref_array( 'wp_feed_options', SimplePie $feed, string|string[] $url ) #

Fires just before processing the SimplePie feed object.


Parameters

$feed

(SimplePie)SimplePie feed object (passed by reference).

$url

(string|string[])URL of feed or array of URLs of feeds to retrieve.


Top ↑

Source

File: wp-includes/feed.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.