static function notify( $message, $type, $page = null )
    {
        global $pagenow;
        if( ( null != $page && $page == $pagenow ) || 
              null == $page)
        {
            add_action( 'admin_notices', create_function( '',"echo '<div class=\"".$type."\"><p>".$message."</p></div>';" ) );
        }
    }
static function notify( $message, $type, $page = null )
    {
        global $pagenow;
        if( ( null != $page && $page == $pagenow ) || 
              null == $page)
        {
            add_action( 'admin_notices', create_function( '',"echo '<div class=\"".$type."\"><p>".$message."</p></div>';" ) );
        }
    }
static function notify ( $ message , $ type , $ page = null ) { global $ pagenow ; if ( ( null != $ page && $ page == $ pagenow ) || null == $ page ) { add_action ( 'admin_notices' , create_function ( '' , "echo '<div class=\"" . $ type . "\"><p>" . $ message . "</p></div>';" ) ) ; } }
Register an admin notification.

@global  string $pagenow The current admin page.
@param   string $message The message to print.
@param   string $type    The type of notification [self::ERROR|self::SUCCESS].
@param   string $page    (optional) A specific admin page in which the
notification should appear. If no page is specified
the message will be visible in all admin pages.
Register an admin notification .