I have dozens of sub-sites with varying sidebars (some custom, some use primary, some blank).
For those logged into WordPress, is there a hook to disable the following message from blank sidebars?
This is the Primary Sidebar Widget Area. You can add content to this
area by visiting your Widgets Panel and adding new widgets to this
It does not appear when logged out, but I’d prefer it not be there for editors either as it can be confusing. I know that I can add empty widgets there to get rid of it, but there has to be a better way.
We’re using WordPress 4.9.4, Genesis 2.5.3 + custom child theme.
Read more here:: Turn off “This is the Primary Sidebar Widget Area” message