I’m using “the_meta()” in my theme file to display all the associated custom data for a post as a list.
Works fine, except that on password protected posts, the meta data is displayed and then the password protect form is displayed.
I only want the meta data (custom fields values) displayed once the user has entered their password to view the post, but I couldn’t find anything in the docs for this. I know I can check if a post has a apssword, but that doesn’t help in this case — I need to know if the user actually used the password to view the post, and if so, only then display the meta data.