twentyfourteen_featured_content_default_settings

Sets a default tag of 'featured' for Featured Content.

Description

(array) twentyfourteen_featured_content_default_settings( (array) $settings ); 

Returns (array)

Parameters (1)

0. $settings (array)
The settings.

Usage

  1. if ( !function_exists( 'twentyfourteen_featured_content_default_settings' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/theme-tools/compat/twentyfourteen.php'; 
  3.  
  4. // The settings. 
  5. $settings = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = twentyfourteen_featured_content_default_settings($settings); 
  9.  

Defined (1)

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

/modules/theme-tools/compat/twentyfourteen.php  
  1. function twentyfourteen_featured_content_default_settings( $settings ) { 
  2. $settings['tag-name'] = 'featured'; 
  3.  
  4. return $settings;