Skip to content

Instantly share code, notes, and snippets.

@kraftbj
Last active October 7, 2019 20:11
Show Gist options
  • Save kraftbj/e0bb567e98344eac4dcf519424a17cf5 to your computer and use it in GitHub Desktop.
Save kraftbj/e0bb567e98344eac4dcf519424a17cf5 to your computer and use it in GitHub Desktop.
Reset Jetpack Protect Local Trusted IP Setting
<?php
function jetpack_support_reset_protect_ip() {
delete_site_option('trusted_ip_header');
}
add_action( 'admin_head', 'jetpack_support_reset_protect_ip');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment