Function __global->allowed_cookies

Definitions

sources/global3.php

  • Whether the current user explicitly allowed cookies in the cookie consent notice.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Returns

  • Whether cookies were allowed
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Whether the current user explicitly allowed cookies in the cookie consent notice.
 *
 * @return boolean Whether cookies were allowed
 */

function allowed_cookies() : bool