_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, get_the_block_template_html, _preview_theme_template_filter, register_block_core_post_content, resolve_block_template

Top Google Results

User discussions

wpseek mobile