Functions

Available Since: V1.0.0

cookieconsent::consentGive()

The cookieconsent::consentGiven function can be used by modules and snippets to query if consent has been given by the user to set cookies on their browser e.g.

if(cookieconsent::consentGiven()) {
	// Consent given so output Google Analytics code
}



TOP