_inject_theme_attribute_in_template_part_block


_inject_theme_attribute_in_template_part_block ( $block )

Access:
  • private
Parameters:
  • (array) block a parsed block.
Defined at:

Description

Injects the active theme's stylesheet as a `theme` attribute into a given template part block.

Related Functions

_remove_theme_attribute_from_template_part_block, _inject_theme_attribute_in_block_template_content, _remove_theme_attribute_in_block_template_content, wp_get_theme_data_template_parts, build_template_part_block_variations

Top Google Results

User discussions

wpseek mobile