wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



unregister_block_pattern_category › WordPress Function

Depuis5.5.0
Dépréciéen/a
› unregister_block_pattern_category ( $category_name )
Paramètres:
  • (string) $category_name Pattern category name including namespace.
    Requis: Oui
Retourne:
  • (bool) True if the pattern category was unregistered with success and false otherwise.
Défini(e) dans:
Codex:

Unregisters a pattern category.



Source

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