FriendlyWP
7/5/2016 - 7:53 PM

Run Jetpack in development mode on localhost only

Run Jetpack in development mode on localhost only

/****
USE JETPACK IN DEVELOPMENT MODE ON LOCALHOST
*****/
if (  $_SERVER['SERVER_NAME'] == 'gladdestthing.dev' ) { // replace gladdestthing.dev with local url
    add_filter( 'jetpack_development_mode', '__return_true' );
}