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

resolve_block_template, generate_block_asset_handle, _load_remote_block_patterns, render_block_core_page_list, locate_block_template

Top Google Results

User discussions

wpseek mobile