wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



unregister_block_style › WordPress Function

Da5.3.0
Deprecaton/a
unregister_block_style ( $block_name, $block_style_name )
Parametri: (2)
  • (string) $block_name Block type name including namespace.
    Richiesto:
  • (string) $block_style_name Block style name.
    Richiesto:
Ritorna:
  • (bool) True if the block style was unregistered with success and false otherwise.
Definito a:
Codex:

Unregisters a block style.



Sorgenti

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