承接 rockschtar/wordpress-object-storage 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rockschtar/wordpress-object-storage

最新稳定版本:0.1.4

Composer 安装命令:

composer require rockschtar/wordpress-object-storage

包简介

Transients in green

README 文档

README

Description

WordPress Must Use Plugin that provides functions simliar to transients but without the general behavior of transients in WordPress. Stored data persist forever or until expiration time. You do not need to serialize values. If the value needs to be serialized, then it will be serialized before it is set. Developed for usage with composer based WordPress projects (roots/bedrock orjohnpbloch/wordpress).

Requirements

Install

composer require rockschtar/wordpress-object-storage

Usage

Set Object

//without expiration time
rsos_set_object('my-key', 'my-value');

//with expiration time
rsos_set_object('my-key', 'my-value', 60 * 60 * 24);

Get Object

$myKey = rsos_get_object('my-key');

Delete Object

$myKey = rsos_delete_object('my-key');

License

rockschtar/wordpress-object-storage is open source and released under MIT license. See LICENSE.md file for more info.

统计信息

  • 总下载量: 3.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-04