twentyfourteen_customizer_default

Set the default tag name for Featured Content.

Description

twentyfourteen_customizer_default( (WP_Customize_Manager) $wp_customize ); 

Parameters (1)

0. $wp_customize (WP_Customize_Manager)
Theme Customizer object.

Usage

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

Defined (1)

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

/modules/theme-tools/compat/twentyfourteen.php  
  1. function twentyfourteen_customizer_default( $wp_customize ) { 
  2. $wp_customize->get_setting( 'featured-content[tag-name]' )->default = 'featured';