承接 automattic/jetpack-terms-of-service 相关项目开发

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

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

automattic/jetpack-terms-of-service

最新稳定版本:v1.10.0

Composer 安装命令:

composer require automattic/jetpack-terms-of-service

包简介

Everything need to manage the terms of service state. This is a deprecated package, use automattic/jetpack-connection.

README 文档

README

A Terms of Service Package that lets us know that the master user has agreed to the the terms of service for this site.

Usage

Agree to the terms of service.

use Automattic\Jetpack\Terms_Of_Service;

$terms_of_service = new Terms_Of_Service();
$terms_of_service->agree();

Reject the terms of service.

use Automattic\Jetpack\Terms_Of_Service;

$terms_of_service = new Terms_Of_Service();
$terms_of_service->revoke();

Has the site agreed to the terms of service?

use Automattic\Jetpack\Terms_Of_Service;

$terms_of_service = new Terms_Of_Service();
$has_agreed = $terms_of_service->has_agreed();

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2019-10-22