Hello,
I've added some fields to the comment form. I would like the values of these fields in the comment list to be visible only to users connected to Wordpress. Is it possible to do this?
I look forward to hearing from you,
Hi,
Sure there is an option called "Display for Guests:". You should disable it. Please watch this video:
Thank you for your responsiveness. However, I would like everyone to complete it (logged in or not) but only logged in users can see this field in the list of comments (This is private data but useful for administrators).
Thank you for your reply. This solution, although visually perfect, seems to me very risky and not very recommended for the protection of users' private data (one look in the HTML code with the inspector and everything is visible). Don't you have an idea for a more suitable solution (Filter , Action...)?
Thanks for this solution, which already seems more secure. However, isn't it really possible to do this not in JS but in functions.php in order to be completely secure?