_inject_theme_attribute_in_block_template_content


_inject_theme_attribute_in_block_template_content ( $template_content )

Access:
  • private
Parameters:
  • (string) template_content serialized wp_template content.
Returns:
  • (string) Updated wp_template content.
Defined at:

Description

Parses wp_template content and injects the current theme's stylesheet as a theme attribute into each wp_template_part

Related Functions

get_default_block_template_types, get_the_block_template_html, get_theme_starter_content, _get_block_template_file, get_comment_delimited_block_content

Top Google Results

User discussions

wpseek mobile