)

How to Hide a WP Element in CSS for Logged-in Users Only

Last Updated: 5 years ago by BrodNeil

You can use .logged-in together with an element or class or ID to hide it from logged-in users.

An example would be something like this:

/* Hide WooCommerce customer_details for logged-in users * /
.logged-in #customer_details {display: none;}