[wp-hackers] admin menu equivalent of template_redirect?

Casey Bisson casey.bisson at gmail.com
Sat Oct 18 04:24:49 GMT 2008


The template_redirect hook works wonders on the public side, allowing  
my plugins to evaluate the found posts and execute conditional code  
based on the results. Is there any equivalent to that inside the  
dashboard?

Reason: I'm manipulating the post and page editor screens via jQuery,  
but only if the page/post has certain post_meta. How can I check for  
the existence of that post_meta in time to queue the appropriate js  
and css?

--Casey

http://about.Scriblio.net/
http://MaisonBisson.com/



More information about the wp-hackers mailing list