Title: PHP API for developers
Last modified: July 19, 2021

---

# PHP API for developers

 *  Resolved [gozalbes](https://wordpress.org/support/users/gozalbes/)
 * (@gozalbes)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-api-for-developers/)
 * I would like to know if CookieYes offers PHP functions to developers to find 
   out the consent status of the user for the different categories of cookies.
    
   I wish to integrate Contact Form 7 Recaptcha by setting the conditional loading
   of scripts in the functions.php file depending on the user’s consent.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Appfromlab](https://wordpress.org/support/users/appfromlab/)
 * (@appfromlab)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-api-for-developers/#post-14679685)
 * Yes, would be good to add support for WP Consent API where developers can easily
   get consent value.
 * The good thing is that it will be a standard function across any plugin that 
   wishes to read the consent value.
 *  Plugin Author [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * (@webtoffee)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/php-api-for-developers/#post-14681419)
 * Hi [@gozalbes](https://wordpress.org/support/users/gozalbes/),
 * We currently do not have consent API support. In the premium version, you can
   block any scripts using a custom script blocker filter.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP API for developers’ is closed to new replies.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 3 participants
 * Last reply from: [WebToffee](https://wordpress.org/support/users/webtoffee/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/php-api-for-developers/#post-14681419)
 * Status: resolved