automattic / jetpack-terms-of-service
Everything need to manage the terms of service state
v1.9.0
2021-01-05 13:57 UTC
Requires
- automattic/jetpack-options: 1.10.0
- automattic/jetpack-status: 1.7.0
Requires (Dev)
- brain/monkey: 2.6.0
- yoast/phpunit-polyfills: 0.2.0
- dev-master
- 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-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: 2021-01-20 20:21:34 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();