automattic / jetpack-terms-of-service
Everything need to manage the terms of service state. This is a deprecated package, use automattic/jetpack-connection.
Installs: 503 887
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 2
Type:jetpack-library
Requires
Requires (Dev)
- dev-master / 1.10.x-dev
- v1.10.0
- v1.9.20
- v1.9.19
- v1.9.18
- v1.9.17
- v1.9.16
- v1.9.15
- v1.9.14
- v1.9.13
- v1.9.12
- v1.9.11
- v1.9.10
- v1.9.9
- v1.9.8
- v1.9.7
- v1.9.6
- v1.9.5
- 1.9.4
- v1.9.3
- v1.9.2
- v1.9.1
- v1.9.0
- v1.8.2
- v1.8.1
- v1.8.0
- v1.7.0
- v1.6.1
- v1.6.0
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.1
- v1.3.0
- v1.2.0
- 1.1.1
- v1.1.0
- v1.0.4
- v1.0.3
- v1.0.1
- v1.0.0
- dev-fix/slack-workflow-branch-detection
- dev-fix/release-branch-typo
- dev-update/generate-branch-plugin
- dev-release-v1.9.3
- dev-release-v1.9.2
- dev-release-v1.9.1
- dev-feature/reorg
- dev-release-v1.9.0
- dev-release-v1.8.2
- dev-release-v1.8.1
- dev-release-v1.8.0
- dev-release-v1.7.0
- dev-release-v1.6.0
- dev-release-v1.5.2
- dev-release-v1.5.1
- dev-release-v1.5.0
- dev-release-v1.4.2
- dev-release-v1.4.1
- dev-release-v1.4.0
- dev-release-v1.3.1
- dev-release-v1.3.0
- dev-release-v1.2.0
- dev-release-v1.1.1
- dev-release-v1.1.0
This package is auto-updated.
Last update: 2022-03-16 21:26:24 UTC
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();