[wp-hackers] Admin notices

Ryan McCue lists at rotorised.com
Mon Apr 11 06:26:34 UTC 2011

Rob Miller wrote:
> No need to target 5.3+; you can do anonymous functions in PHP 4.0+:
> add_action('admin_notices', create_function('', 'echo "your message";'));

True, and good point! They just don't look as nice. ;)

Ryan McCue

More information about the wp-hackers mailing list