WPDev.one
Core Function
View Source on Trac ↗

_add_block_template_part_area_info()

_add_block_template_part_area_info( mixed $template_info )

Attempts to add the template part's area information to the input template.

Parameters 1 required

Name / Type Description
$template_info
array

Template to add information to (requires 'type' and 'slug' fields).

Required

Return Value

(array)
Template info.

Function Information

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