[wp-hackers] remove WP news from dashboard v3.8
shahzeb at yandex.com
Fri Dec 6 23:16:08 UTC 2013
which one is easiest way to hack wp-admin password?
07.12.2013, 04:11, "Andrew Nacin" <wp at andrewnacin.com>:
> 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