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