[wp-hackers] remove WP news from dashboard v3.8

Andrew Nacin wp at andrewnacin.com
Fri Dec 6 23:10:55 UTC 2013


Whatever you were using in 3.7 with remove_meta_box() to remove the primary
news widget should work just fine in 3.8.


On Fri, Dec 6, 2013 at 6:03 PM, Lee Rickler <info at a5d.org> wrote:

> Guys,
>
> I’m updating my plugin for v3.8 and everything is going nicely except I
> cannot remove the ‘WordPress news’ dashboard panel.
>
> Currently I can use variations of:
> remove_meta_box('dash-right-now', 'dashboard', 'core')
> or
> remove_action('welcome_panel', 'wp_welcome_panel’)
>
> But these now don’t work
> I understand this element is now ‘dashboard_primary’ so I tried variations
> on a theme of:
> remove_action('dashboard_primary', 'wp_dashboard_primary’) etc
>
> but I’m obviously missing something as it still displays itself proudly.
>
> Any ideas?
>
> TIA
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list