register_block_pattern_category


register_block_pattern_category ( $category_name, $category_properties )

Parameters:
  • (string) category_name Pattern category name.
  • (array) category_properties Array containing the properties of the category.
Returns:
  • (bool) True if the pattern category was registered with success and false otherwise.
Defined at:

Description

Registers a new pattern category.

Related Functions

unregister_block_pattern_category, register_block_pattern, unregister_block_pattern, _register_core_block_patterns_and_categories, register_block_core_categories

Top Google Results

User discussions

wpseek mobile