[wp-hackers] remove boxes

Leo Baiano ljunior2005 at gmail.com
Wed Apr 27 21:00:02 UTC 2011

Humm, before posting here I was trying to remove the pits with the hook
admin_menuand worked perfectly to remove the menus on the right side, but
when inserted in theremove_meta_box function to remove the box they do not
leave at all, will see the problem was I was trying to remove a box that was
 not possible to remove this hook.

The fact is that with admin_head am having difficulty removing all that was

2011/4/27 Helen Hou-Sandi <helen.y.hou at gmail.com>

> Direct copy paste from the previous link:
> I would’ve recommended the admin_menu hook to remove meta boxes, which is
> what many developers seem to use and is the example hook provided in the
> WordPress Codex. However, not all meta boxes can be removed when using this
> hook. The featured image meta box is one such meta box.
> On Wed, Apr 27, 2011 at 4:37 PM, Leo Baiano <ljunior2005 at gmail.com> wrote:
> > Thanks guys, I managed to remove all looking at the ID code in the box,
> > firebug them lol.As for using the admin_head or add_meta_box, what
> > advantages and disadvantages ofeach? The add_meta_box suggested a call to
> > add is not to remove, but runs like the time to assemble the page if you
> > use
> >  the remove_meta_box within the function itremoves too.
> >
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


Leo Baiano

More information about the wp-hackers mailing list