Created
January 25, 2016 18:39
-
-
Save kraftbj/ad5fce1d75f6fd81d33d to your computer and use it in GitHub Desktop.
adding a staging site URL to Jetpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'jetpack_known_staging', 'bk_my_personal_staging_domain'); | |
function bk_my_personal_staging_domain( $known_staging ){ | |
$known_staging['urls'][] = '#\staging\.example\.com$#i'; | |
return $known_staging; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment