WP_Block_Styles_Registry::unregister

SummerySummery

Unregisters a block style.

Syntax

WP_Block_Styles_Registry::unregister( string $block_name, string $block_style_name )

ParametersParameters

$block_name

(string) (Required) Block type name including namespace.

$block_style_name

(string) (Required) Block style name.

ReturnReturn

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

SourceSource

File: wp-includes/class-wp-block-styles-registry.php


			
Scroll to Top