Price hide when user not login the site

Hide price when user is not logged in to the site.

add_filter('advanced_woo_discount_rules_modify_price_html', function($status, $price_html, $product, $quantity) {
	if (is_user_logged_in() !== true) {
    	return false;
	}
    return $status;
}, 10, 4);