[wp-hackers] WordPress actions' load order

Frank Bueltge frank at bueltge.de
Mon Apr 23 14:01:32 UTC 2012

You can use the plugin Debug Objects

this plugin can list the hooks on the current page, there you are viewed.
and on this list you find the hooks and also the functions, there hook in this
example screenshot on page to edit a post:


On Mon, Apr 23, 2012 at 3:50 PM, Rilwis <rilwis at gmail.com> wrote:
> You can use one of these methods:
> - Using 'admin_head' hook. It's not exactly for this purpose, but it works.
> - Or better, you the same 'add_meta_boxes' hook with very high priority,
> such as 9999, and in the callback function, you call remove_meta_box().
>> For example, a third party plugin use..
>> add_action( 'add_meta_boxes', 'foo' );
>> I was able to remove the metabox added using `remove_meta_box`, but
>> the only action I found which load after `add_meta_boxes` is
>> `admin_notices`
>> But using admin_notices for this purpose seems hacky..Are there any
>> better method?
>> Thanks.
> --
> Tran Ngoc Tuan Anh (a.k.a. Rilwis)
> Web/WordPress developer
> Website: www.deluxeblogtips.com
> _______________________________________________
> 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