[wp-hackers] any hook to add label at the top of the editor
AJ Chen
canovaj at gmail.com
Tue Jul 4 02:55:00 GMT 2006
Hi Mark,
admin_notices hook works. Thank you. How to access the $post global inside
the hooked function? I need to retrieve meta data for the post. But, $post
does not seem accesible. "global $post; print_r($post);" does not print
anything.
AJ
On 6/15/06, Mark Jaquith <mark.wordpress at txfx.net> wrote:
>
> On Jun 11, 2006, at 2:51 AM, AJ Chen wrote:
>
> > Is there is way (hook) to add a lable near "Write
> > Post" line above the editor?
>
> This hook [1] , plus use of the global $action (from within the
> hooked function), should get you the results you want:
>
> ==
> [1] http://wphooks.flatearth.org/hooks/admin_notices/
> --
> Mark Jaquith
> http://txfx.net/
>
>
> _______________________________________________
> 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