Пример #1
0
  public static function is_post_create() {

    if (!self::$is_post_create) {
      self::$is_post_create = self::$script == "post-new";
    }

    return self::$is_post_create;
  }