rss_item
Fires at the end of each RSS feed item.
Description
Parameters (1)
- 0. $jetpack_enhanced_distribution_post_id (string) =>
'jetpack_enhanced_distribution_post_id'
- The jetpack enhanced distribution post id.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'rss_item', $jetpack_enhanced_distribution_post_id );
- The following example is for adding a hook callback.
- // define the rss_item callback
- function action_rss_item( $jetpack_enhanced_distribution_post_id ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'rss_item', 'action_rss_item', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'rss_item', 'action_rss_item', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /modules/enhanced-distribution.php
- add_action( 'rss_item', 'jetpack_enhanced_distribution_post_id' );