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



unregister_block_pattern_category › WordPress Function

Da5.5.0
Deprecaton/a
› unregister_block_pattern_category ( $category_name )
Parametri:
  • (string) $category_name Pattern category name including namespace.
    Richiesto: Sì
Ritorna:
  • (bool) True if the pattern category was unregistered with success and false otherwise.
Definito a:
Codex:

Unregisters a pattern category.



Sorgenti

function unregister_block_pattern_category( $category_name ) {
	return WP_Block_Pattern_Categories_Registry::get_instance()->unregister( $category_name );
}