Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
function slicejack_customize_register( $wp_customize ) {
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
$wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';
/** Start editing here **/
}
add_action( 'customize_register', 'slicejack_customize_register' );
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.