The code snippet below will allow you to detect whether or not you are trying to view a page of WP Customer Area or any other private content in your chart.
<?php if ( cuar_is_customer_area_page( get_queried_object_id() ) ) : ?> <p>We are currently showing one of the Customer Area pages</p> <?php endif; ?> <?php if ( cuar_is_customer_area_private_content( get_the_ID() ) ) : ?> <p>The current post in the loop has one of the private content post types: <?php echo get_post_type(); ?></p> <?php endif; ?>
You should simply insert that code in the template where you want to display the menu – for example: header.php, page.php, etc.