WPDev.one
Core Function
View Source on Trac ↗

unregister_block_style()

unregister_block_style( mixed $block_name, mixed $block_style_name )

Unregisters a block style.

Parameters 2 required

Name / Type Description
$block_name
string

Block type name including namespace.

Required
$block_style_name
string

Block style name.

Required

Return Value

(bool)
True if the block style was unregistered with success and false otherwise.

Function Information

Since Version
5.3.0
Source File
wp-includes/blocks.php
Advertisement