block_template_part example

return;
    }
    echo do_blocks( $template_part->content );
}

/** * Prints the header block template part. * * @since 5.9.0 */
function block_header_area() {
    block_template_part( 'header' );
}

/** * Prints the footer block template part. * * @since 5.9.0 */
function block_footer_area() {
    block_template_part( 'footer' );
}

Home | Imprint | This part of the site doesn't use cookies.