Created
May 23, 2018 16:54
-
-
Save bogdan-mainwp/0aa8e1cb526a742443be0bbb2058824e to your computer and use it in GitHub Desktop.
Custom snippet for the MainWP Code Snippets Extension that can be used for disabling the Privacy Policy change notification introduced in the recent Wordfence plugin update.
This file contains hidden or 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 | |
// Use this snippet in the MainWP Code Snippets Extension (https://mainwp.com/extension/code-snippets/) | |
// Snippet Type: This Code Snippet only returns information from Child Site | |
wfConfig::set('touppPromptNeeded', 0); | |
// To reverse the update, use wfConfig::set('touppPromptNeeded', 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment