[wp-trac] [WordPress Trac] #18061: No admin_init-{$page_hook} action - why?

WordPress Trac wp-trac at lists.automattic.com
Sun Jul 10 13:06:07 UTC 2011


#18061: No admin_init-{$page_hook} action - why?
-----------------------------+-----------------------------
 Reporter:  jcnetsys         |      Owner:
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Plugins          |    Version:  3.2
 Severity:  minor            |   Keywords:
-----------------------------+-----------------------------
 Hi all,

 Currently I have a function that is fired at admin_init on every admin
 page call. It then checks to see whether the page GET variable matches the
 one for my plugin and if it doesn't then returns. I don't understand why
 there isn't an admin_init-{$page_hook} action like there is for
 admin_head. It would make attaching page specific actions much easier.

 Look forward to your response,[[BR]]

 Daniel Chatfield

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18061>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list