strip_core_block_namespace


strip_core_block_namespace ( $block_name = null )

Parameters:
  • (string) block_name Original block name.
Returns:
  • (string) Block name to use for serialization.
Defined at:

Description

Returns the block name to use for serialization. This will remove the default "core/" namespace from a block name.

Related Functions

register_core_block_types_from_metadata, register_block_core_block, remove_block_asset_path_prefix, serialize_block_attributes, filter_block_kses_value

Top Google Results

User discussions

wpseek mobile