twentyfourteen_customizer_default

Set the default tag name for Featured Content.

Description

twentyfourteen_customizer_default( $wp_customize ); 

Parameters (1)

0. $wp_customize
The wp customize.

Usage

  1. if ( !function_exists( 'twentyfourteen_customizer_default' ) ) { 
  2. require_once '/inc/wpcom.php'; 
  3.  
  4. // The wp customize. 
  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).

/inc/wpcom.php  
  1. function twentyfourteen_customizer_default( $wp_customize ) { 
  2. $wp_customize->get_setting( 'featured-content[tag-name]' )->default = 'featured';