[benecaster_cookie_notice]
Renders the GDPR cookie notice text set at Settings → GDPR / Privacy → Cookie Notice. Intended as a lightweight alternative for podcasters who do not run a full consent-management plugin (Complianz, CookieYes, etc.). If you already have a dedicated CMP active, you don’t need this shortcode.
When the Cookie Notice field is empty the shortcode outputs nothing — an empty consent notice is worse than none. Output filterable via benecaster_cookie_notice_output ( $html, $text, $atts ).
Parameters
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
class |
string |
— | No | Extra CSS class names appended to the wrapper element (sanitised via sanitize_html_class). |
Example
<!-- Basic cookie notice -->
[benecaster_cookie_notice]
<!-- With custom wrapper class -->
[benecaster_cookie_notice class="my-notice-box"]