Skip to content
This repository has been archived by the owner on Mar 17, 2022. It is now read-only.

[READ ONLY] A Terms of Service Package that lets us know that the master user has agreed to the the terms of service for this site. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack

License

Automattic/jetpack-terms-of-service

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 

Jetpack Terms of Service

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();

About

[READ ONLY] A Terms of Service Package that lets us know that the master user has agreed to the the terms of service for this site. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Languages