There are many situations where you want to hide prices in your WooCommerce store and show them only to certain users by some criterion. WooCommerce has a filter called woocommerce_get_price_html that makes this easy:
add_filter( 'woocommerce_get_price_html', function( $price ) {
if ( is_user_logged_in() ) return $price;
return '';
} );In the code above (add to functions.php) we used a condition that if the user is not logged in, prices will not be shown in the store. You can of course use any condition you choose.
For more WooCommerce customization, see Mastering WooCommerce Hooks.