Study Job Dublin

function disable_wp_rocket_on_blog_posts() { if (is_single() && in_category('blog')) { define('DONOTCACHEPAGE', true); define('DONOTROCKETOPTIMIZE', true); define('DONOTCACHEOBJECT', true); } } add_action('wp', 'disable_wp_rocket_on_blog_posts');