It happens that the generated data is stored in a separate file. And the task is to output, for example, titles with a preliminary check of already existing values (not empty) in a third-party file.
An example of the implementation is below:
<?php include($_SERVER['DOCUMENT_ROOT']."/seo.php");
if(isset($seoh1) AND $seoh1!='') {
echo $seoh1;
}
else {echo $heading_title;} ?>
WEBinP Your guide to resolving CMS optimization, Web Development and SEO problems