Skip to content

Instantly share code, notes, and snippets.

@kreamweb
Created September 28, 2017 08:10
Show Gist options
  • Select an option

  • Save kreamweb/e8402afcdd6c47af4a90a603be46bae8 to your computer and use it in GitHub Desktop.

Select an option

Save kreamweb/e8402afcdd6c47af4a90a603be46bae8 to your computer and use it in GitHub Desktop.
<?php
add_filter('ypop_alter_popup', 'ypop_alter_popup', 10, 2);
function ypop_alter_popup( $current_popup, $current_post ){
if( is_search() ){
return 167;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment