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.
Source
File: wp-includes/feed.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |