Last active
October 7, 2019 20:11
-
-
Save kraftbj/e0bb567e98344eac4dcf519424a17cf5 to your computer and use it in GitHub Desktop.
Reset Jetpack Protect Local Trusted IP Setting
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
<?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