wp_get_block_name_from_theme_json_path


wp_get_block_name_from_theme_json_path ( $path )

Access:
  • private
Parameters:
  • (array) path An array of keys describing the path to a property in theme.json.
Returns:
  • (string) Identified block name, or empty string if none found.
Defined at:

Description

Gets the block name from a given theme.json path.

Related Functions

wp_register_block_style_variations_from_theme_json_partials, _get_block_templates_paths, get_block_editor_theme_styles, wp_clean_theme_json_cache, get_block_file_template

Top Google Results

User discussions

wpseek mobile