Clanbite Since 1.3.0 Updated in 1.5.0

register_shared_styles(  ): void

Register stylesheets shared by Clanbite and its companion plugins.

clanbite-toasts (style and script) is the shared popup system, see inc/toasts.php.

clanbite-tokens holds the theme-adaptive colour tokens (surface, text, border, accent, danger). clanbite-buttons is the button contract (defaults, variants, states, focus ring on top of theme.json button styles) and depends on the tokens. List a handle in a block's style array in block.json, or call wp_enqueue_style() from template output.

public

Class: Kernowdev\Clanbite\Main

Returns

void

Defined in clanbite.php

Changelog

VersionDescription
1.5.0Updated.
1.3.0Introduced.