per ora ho usato questo nel functions.php:
codice:
add_action('template_redirect', 'block_category');
function block_category() {
	$postID = get_queried_object_id();
	$category = get_the_category($postID);
    if($category[0]->name == 'Eventi Academy' && !is_user_logged_in()) {
		wp_safe_redirect(wp_registration_url(get_permalink($queried_object->ID)));
        exit;
	}
}
certo non è il massimo, perchè ogni volta devo andare a modificare la if se vogliono bloccare/sbloccare le categorie.