I'm trying to remove the welcome panel showing in the contact form page, like in the picture attached, but every code i found removing only the welcome panel in dashboard. I want it to disappear. Thank you
closed as off-topic by Howdy_McGee♦ Feb 1 '17 at 15:55
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third party plugins and themes are off topic, they are better asked about at their developers' support routes." – Howdy_McGee
If you want to remove the panel for all users, you'll need to write à little script to add user meta to the role you want.
When you click on 'ne plus afficher' an ajax script add a user meta call something like
wpcf7_hide_panel_on, the value is an array with version where the panel will be hidden.
I think there's maybe a cookie write at the same time as even I remove the user meta, the panel still not show (I did it on local install and the cookie domain are the same...).
You need to dive in the wpcf7 code to really see what happen.