rss2_item WordPress Action Hook
The rss2_item hook is used to add new items to an RSS feed. This hook is used in conjunction with the rss2_head and rss2_footer hooks.
do_action( 'rss2_item' ) #
Fires at the end of each RSS2 feed item.
Contents
More Information
The rss2_item action hook is triggered immediately after the default output of an rss2 feed.
This hook has no parameters and no return values. It can be used to echo data into the feed if necessary.
This hook is not dependent on your theme. It can be called within your theme’s functions.php file or from a plugin.
Source
Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |