_inject_theme_attribute_in_block_template_content
- %1$s is private and should not be used in themes or plugins directly.
- _inject_theme_attribute_in_block_template_content is deprecated since version 6.4.0!
Alternative: Use
_inject_theme_attribute_in_block_template_content ( $template_content )
Access:Parameters:- (string) template_content serialized wp_template content.
Returns:- (string) Updated 'wp_template' content.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: 6.4.0
Description
Parses wp_template content and injects the active theme's
stylesheet as a theme attribute into each wp_template_part