Note: This document is about the premium version of the plugin.

To maintain a good user experience, you may want to disable WooBought on certain posts. To do this, you have to add the below piece of code to your theme’s functions.php file. Please note the array with numbers. Change that to the post ID’s you want Woobought excluded on.

add_filter('woobought-run','should_woobought_run');
function should_woobought_run($run) {
   $posts_to_exclude = array(19, 22, 123); // Change this list to the post ID's you want Woobought excluded on.
   if(is_single($posts_to_exclude))
      return false;
	
   return $run;	
}