twentyfourteen_featured_content_default_settings

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

Description

twentyfourteen_featured_content_default_settings( $settings ); 

Parameters (1)

0. $settings
The settings.

Usage

  1. if ( !function_exists( 'twentyfourteen_featured_content_default_settings' ) ) { 
  2. require_once '/inc/wpcom.php'; 
  3.  
  4. // The settings. 
  5. $settings = null; 
  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).

/inc/wpcom.php  
  1. function twentyfourteen_featured_content_default_settings( $settings ) { 
  2. $settings['tag-name'] = 'featured'; 
  3. $settings['quantity'] = 6; 
  4.  
  5. return $settings;