wp_get_block_name_from_theme_json_path
- %1$s is private and should not be used in themes or plugins directly.
wp_get_block_name_from_theme_json_path ( $path )
Access: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: - Introduced in WordPress: 6.3.0
- Deprecated in WordPress: —
Description
Gets the block name from a given theme.json path.