Lines:
1 to 31 of 31
<?php /** * Twenty Seventeen: Customizer * * @package WordPress * @subpackage Twenty_Seventeen * @since Twenty Seventeen 1.0 */ /* function twentyseventeen_customize_register() – Add postMessage support for site title and description for the Theme Customizer. */ add_action( 'customize_register', 'twentyseventeen_customize_register' ); /* function twentyseventeen_sanitize_page_layout() – Sanitize the page layout options. */ /* function twentyseventeen_sanitize_colorscheme() – Sanitize the colorscheme. */ /* function twentyseventeen_customize_partial_blogname() – Render the site title for the selective refresh partial. */ /* function twentyseventeen_customize_partial_blogdescription() – Render the site tagline for the selective refresh partial. */ /* function twentyseventeen_is_static_front_page() – Return whether we’re previewing the front page and it’s a static page. */ /* function twentyseventeen_is_view_with_layout_option() – Return whether we’re on a view that supports a one or two column layout. */ /* function twentyseventeen_customize_preview_js() – Bind JS handlers to instantly live-preview changes. */ add_action( 'customize_preview_init', 'twentyseventeen_customize_preview_js' ); /* function twentyseventeen_panels_js() – Load dynamic logic for the customizer controls area. */ add_action( 'customize_controls_enqueue_scripts', 'twentyseventeen_panels_js' );