jetpack_enhanced_distribution_feed_id

The WordPress Core jetpack enhanced distribution feed id function.

Description

jetpack_enhanced_distribution_feed_id(); 

Usage

  1. if ( !function_exists( 'jetpack_enhanced_distribution_feed_id' ) ) { 
  2. require_once '/modules/enhanced-distribution.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_enhanced_distribution_feed_id(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/enhanced-distribution.php  
  1. function jetpack_enhanced_distribution_feed_id() { 
  2. (int) $id = Jetpack_Options::get_option( 'id' ); 
  3. if ( $id > 0 ) { 
  4. $output = sprintf( '<site xmlns="com-wordpress:feed-additions:1">%d</site>', $id ); 
  5. echo $output;