Glossary Term
register_block_style()
3 tags
1 category
register_block_style() — Registers a new block style.
Inputs: $block_name (string|string[]): Block type name including namespace or array of namespaced block type names. $style_properties (array): Array containing the properties of the style name, label, style_handle (name of the stylesheet to be enqueued), inline_style (string containing the CSS to be added), style_data (theme.json-like array to generate CSS from). See WP_Block_Styles_Registry::register().
Returns bool: True if the block style was registered with success and false otherwise.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
