_remove_theme_attribute_in_block_template_content


_remove_theme_attribute_in_block_template_content ( $template_content )

Access:
  • private
Parameters:
  • (string) template_content Serialized block template content.
Returns:
  • (string) Updated block template content.
Defined at:

Description

Parses a block template and removes the theme attribute from each template part.

Related Functions

_inject_theme_attribute_in_block_template_content, _remove_theme_attribute_from_template_part_block, _inject_theme_attribute_in_template_part_block, _resolve_home_block_template, _preview_theme_template_filter

Top Google Results

User discussions

wpseek mobile