WPDev.one
Core Function
View Source on Trac ↗

_remove_theme_attribute_from_template_part_block()

_remove_theme_attribute_from_template_part_block( mixed $block )

Removes the `theme` attribute from a given template part block.

Parameters 1 required

Name / Type Description
$block
array

a parsed block.

Required

Return Value

(void)
No return value description available.

Function Information

Since Version
6.4.0
Source File
wp-includes/block-template-utils.php
Advertisement