Is there a way to change the visibility on HTML elements already in the page

I am modifying some gctools commands to add some HTML in bulk to posts. I want to make different sections of the HTML have different visibility similar to how you can do that from the frontend or normally creating a post. Is there a specific class or element I can add to my HTML that would make it visible to just paid members, free members, or not logged in users?

1 Like

I had an issue open over in Github about the problem, but it got stalebot’d.

thanks for letting me know.