[wp-hackers] Admin notices

Barry Carlyon barry at barrycarlyon.co.uk
Sun Apr 10 07:38:46 UTC 2011

The point of Wordpress is you add a function to a hook.... (quite a pain sometimes)

In theory you could add messages to an array.
Then call admin_notices and your function iterates thru the array and echos them all.....


Barry Carlyon
Freelance Web Developer
Freelance Lighting/AV Engineer


mobile: 07729 048 443
skype: barrycarlyon
email: barry at barrycarlyon.co.uk
msn: barry at barrycarlyon.co.uk

On 10 Apr 2011, at 07:08, John 3:16 Media wrote:

> I was wondering if there is a better way to add a message to the admin panel
> like a functionother than the admin notices hook, which requires a function
> for each message.
> _______________________________________________
> 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