get_title
get_title($path); - this function is used to get the file header (file name, without extension)
the input Function accepts parameters:
$path – path to the file to get the header for (string). It can be either absolute or relative (relative to the script folder).
After testing, the function returns the result of its work to the script :
title – the title of the specified file - the file name, without the extension (string)false – there is no such file (boolean)