Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 2.22 KB

upgrade-guide.md

File metadata and controls

31 lines (26 loc) · 2.22 KB

Cookiebot upgrade guide

version 3 to version 4

Breaking changes

  • The cookiebot_addons_list filter hook was renamed to cybot_cookiebot_addons_list and the initial/expected value has been restructured.
  • The cookiebot_addons_language filter hook was renamed to cybot_cookiebot_addons_language.
  • The cookiebot_addons_embed_source filter hook was renamed to cybot_cookiebot_addons_embed_source.
  • The cookiebot_addons_embed_placeholder filter hook was renamed to cybot_cookiebot_addons_embed_placeholder.
  • The cookiebot_embed_regex filter hook was renamed to cybot_cookiebot_embed_regex.
  • The cookiebot_embed_default_regex filter hook was renamed to cybot_cookiebot_embed_default_regex.

Deprecations

non-namespaced globals

PHP namespaces were not used in the Cookiebot plugin before version 4. The following globals are now deprecated and will be removed in the next major version update. Please use the namespaced version instead when supporting the Cookiebot plugin in your own plugin, or when implementing a new add-on.