get_page_templates only return templates with “home” in the filename

Figured it out after thinking it through..

if (stripos(strtolower($template_filename), 'home') !== false) {
    $results[] = $template_name;
}

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)