Created
May 22, 2020 09:12
-
-
Save rajeshsingh520/64dcb16dd3be32c733d6854c5114ceb0 to your computer and use it in GitHub Desktop.
Disable preference popup plugin on specific page
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 | |
add_filter('pisol_dppp_enable_popup', function($value){ | |
if(is_page(334)){ // this will disable the preference popup on page 334 | |
return false; | |
} | |
return $value; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment