remove_block_asset_path_prefix


remove_block_asset_path_prefix ( $asset_handle_or_path )

Parameters:
  • (string) asset_handle_or_path Asset handle or prefixed path.
Returns:
  • (string) Path without the prefix or the original value.
Defined at:

Description

Removes the block asset's path prefix if provided.

Related Functions

generate_block_asset_handle, register_block_pattern, strip_core_block_namespace, remove_submenu_page, register_block_type

Top Google Results

User discussions

wpseek mobile