wp_normalize_remote_block_pattern


wp_normalize_remote_block_pattern ( $pattern )

Access:
  • private
Parameters:
  • (array) pattern Pattern as returned from the Pattern Directory API.
Returns:
  • (array) Normalized pattern.
Defined at:

Description

Normalize the pattern properties to camelCase.The API's format is snake_case, `register_block_pattern()` expects camelCase.

Related Functions

_load_remote_block_patterns, wp_normalize_site_data, wp_normalize_path, _wp_normalize_relative_css_links, register_block_core_pattern

Top Google Results

User discussions

wpseek mobile