original_string: 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>';" ) );
          }
      }
code: 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>';" ) );
          }
      }
code_tokens: 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>';" ) ) ; } }
docstring: 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.
docstring_tokens: Register an admin notification .