Support

Home Forums Event Espresso Premium Event Espresso News Widget Removal

Event Espresso News Widget Removal

Posted: August 27, 2012 at 2:11 pm


emoria

August 27, 2012 at 2:11 pm

Hello,

I’d like to remove this widget from the users dashboard with code similar to whats below in my themes function.php. Can you please provide teh correct code for the Espresso News Widget?

unset($wp_meta_boxes[‘dashboard’][‘normal’][‘high’][‘dashboard_browser_nag’]);


Chris Reynolds

  • Support Staff

August 27, 2012 at 5:43 pm

You mean the news in the sidebar that appears on some of the admin pages? That’s not a dashboard widget.


emoria

August 27, 2012 at 5:55 pm

It’s not on the sidebar but in the dashboard. It looks like a widget and has a heading “Event Espresso News”.


Chris Reynolds

  • Support Staff

August 27, 2012 at 6:30 pm

Try espresso_news_dashboard_widget


emoria

August 28, 2012 at 9:40 am

Excellent thank you!

This is the correct code:

unset($wp_meta_boxes[‘dashboard’][‘normal’][‘core’ [‘espresso_news_dashboard_widget’]);


jblanco

October 9, 2012 at 5:31 pm

Sorry for the question, where should I put this code?
JB


jblanco

October 10, 2012 at 7:51 pm

Hi,

Chris replied saying “Try espresso_news_dashboard_widget”. I guess it will hide or remove the widget on event espresso. Where should I put this code?

Jaime

The support post ‘Event Espresso News Widget Removal’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso