_remove_theme_attribute_in_block_template_content
- %1$s is private and should not be used in themes or plugins directly.
- _remove_theme_attribute_in_block_template_content is deprecated since version 6.4.0!
Alternative: Use
_remove_theme_attribute_in_block_template_content ( $template_content )
Access:Parameters:- (string) template_content Serialized block template content.
Returns:- (string) Updated block template content.
Defined at: - Introduced in WordPress: 5.9.0
- Deprecated in WordPress: 6.4.0
Description
Parses a block template and removes the theme attribute from each template part.