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: - Introduced in WordPress: 5.5.0
- Deprecated in WordPress: —
Description
Removes the block asset's path prefix if provided.