Hello,
I’ve noticed when a user’s role is Editor, editing a post, the Active Elements info panel appears in the sidebar but it hasn’t access to Elements through the admin Menu>Appearance>Elements. I’d like completely disable access to this role or hide the panel info to this role.
I’ve tried using wp.data.dispatch('core/edit-post').removeEditorPanel('meta-box-gpp-elements-info-panel');
but I couldn’t guess the exact panel id.
Could you point me how to do it?
Thank you!