WPDev.one
Core Function
View Source on Trac ↗

_inject_theme_attribute_in_block_template_content()

_inject_theme_attribute_in_block_template_content( mixed $template_content )

Parses wp_template content and injects the active theme's

Parameters 1 required

Name / Type Description
$template_content
string

serialized wp_template content.

Required

Return Value

(string)
Updated 'wp_template' content.

Function Information

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