PHP in section

Step 1. Create a file php.json in your section

php.json
{
"site_title":{
"raw":<<EOF
<?php wp_title(''); ?>
EOF,
"content":"Preview content"
}
}

Step 2. Print php in *.lh

section.lh
@schema
{
"name" : "First Section",
"author" : "LayoutHub Team",
"website" : "https://www.LayoutHub.com",
"version" : "1.0"
}
@endschema
<div class="my-section">
@php('site_title')
</div>