Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Changing WordPress Theme Customizer default options
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
$wp_customize->get_control( 'background_color' )->section = 'background_image';
$wp_customize->get_section( 'background_image' )->title = 'Background Settings';
$wp_customize->get_section( 'title_tagline' )->title = 'Site Title / Logo';
$wp_customize->get_section( 'static_front_page' )->title = 'Home Page Settings';
$wp_customize->get_section( 'static_front_page' )->priority = 29;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.