wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



unregister_block_style › WordPress Function

Seit5.3.0
Veraltetn/v
unregister_block_style ( $block_name, $block_style_name )
Parameter: (2)
  • (string) $block_name Block type name including namespace.
    Erforderlich: Ja
  • (string) $block_style_name Block style name.
    Erforderlich: Ja
Gibt zurück:
  • (bool) True if the block style was unregistered with success and false otherwise.
Definiert in:
Codex:

Unregisters a block style.



Quellcode

function unregister_block_style( $block_name, $block_style_name ) {
	return WP_Block_Styles_Registry::get_instance()->unregister( $block_name, $block_style_name );
}