[wp-hackers] remove WP news from dashboard v3.8
info at a5d.org
Fri Dec 6 23:14:33 UTC 2013
Agreed - was working fine before, just not now … back to stroking my chin methinks.
On 6 Dec 2013, at 23:10, Andrew Nacin <wp at andrewnacin.com> wrote:
> 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:
>> 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')
>> 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?
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers