register_block_pattern


register_block_pattern ( $pattern_name, $pattern_properties )

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

Description

Registers a new pattern.

Related Functions

unregister_block_pattern, register_block_pattern_category, register_block_type, register_block_style, unregister_block_pattern_category

Top Google Results

User discussions

wpseek mobile