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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
5.9.0 | Introduced. |