\DevOwl\RealCookieBanner\view\shortcodeLinkShortcode

Shortcode for:

  • Link/Button to edit consent
  • Link/Button to view history of consent
  • Link/Button to revoke consent

There is also a UI shortcode builder: linkForm.tsx

Summary

Methods
Properties
Constants
getPluginConstantPrefix()
render()
No public properties found
TAG
BUTTON_CLICKED_IDENTIFIER
DEFAULT_TAG
ALLOWED_TYPES
ALLOWED_TAGS
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

TAG

TAG ='rcb-consent'

BUTTON_CLICKED_IDENTIFIER

BUTTON_CLICKED_IDENTIFIER ='shortcode_revoke'

DEFAULT_TAG

DEFAULT_TAG ='a'

ALLOWED_TYPES

ALLOWED_TYPES =array('history', 'revoke', 'change')

ALLOWED_TAGS

ALLOWED_TAGS =array(self::DEFAULT_TAG, 'button')

Methods

getPluginConstantPrefix()

getPluginConstantPrefix(): string

Get the prefix of this plugin so composer packages can dynamically build other constant values on it.

Returns

string

render()

render(mixed  $atts): string

Render shortcode HTML and enqueue scripts and styles.

Parameters

mixed $atts

Returns

string