WPDev.one
Core Function
View Source on Trac ↗

_remove_theme_attribute_in_block_template_content()

_remove_theme_attribute_in_block_template_content( mixed $template_content )

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

Parameters 1 required

Name / Type Description
$template_content
string

Serialized block template content.

Required

Return Value

(string)
Updated block template content.

Function Information

Since Version
5.9.0
Source File
wp-includes/deprecated.php
Advertisement