block_header_area() WordPress Function

The block_header_area() function is used to display a header area for a WordPress block. This function accepts two parameters: the title of the header area and the content to be displayed in the header area. The title parameter is used to display a title for the header area. The content parameter is used to display the content in the header area. The content can be any type of content, including text, images, and videos. The block_header_area() function can be used to display a header area for a WordPress block. This function accepts two parameters: the title of the header area and the content to be displayed in the header area. The title parameter is used to display a title for the header area. The content parameter is used to display the content in the header area. The content can be any type of content, including text, images, and videos.

block_header_area() #

Print the header template-part.


Source

File: wp-includes/block-template-utils.php

function block_header_area() {
	block_template_part( 'header' );
}


Top ↑

Changelog

Changelog
VersionDescription
5.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.