[wp-hackers] Custom Admin messages
scribu at gmail.com
Wed Feb 25 16:50:40 GMT 2009
Forgot about that. Thanks.
On Wed, Feb 25, 2009 at 6:43 PM, Austin Matzko <if.website at gmail.com> wrote:
> On Wed, Feb 25, 2009 at 10:37 AM, scribu <scribu at gmail.com> wrote:
> > I was trying to add a custom error message on the post editing screen,
> > then I found out that there is no hook for that and all messages are
> > hardcoded in edit-form-advanced.php so the only way I could do this is
> > jQuery.
> > I think a filter on $messages would come in really handy in such cases.
> > objections?
> Why can't you add a callback for the 'admin_notices' action hook? It
> fires off for every admin page header.
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
More information about the wp-hackers