generate_block_asset_handle


generate_block_asset_handle ( $block_name, $field_name )

Parameters:
  • (string) block_name Name of the block.
  • (string) field_name Name of the metadata field.
Returns:
  • (string) Generated asset name for the block's field.
Defined at:

Description

Generates the name for an asset based on the name of the block and the field name provided.

Related Functions

register_block_style_handle, register_block_script_handle, unregister_block_style, filter_block_kses_value, render_block_core_calendar

Top Google Results

User discussions

wpseek mobile