I'm asking if it's possible to call a php page or to define a link without having to define the folder "detectmobile" where it is located ?
require (get_template_directory() . '/detectmobile/header_settings_page.php') ;
Is there a search function in the template that will query the presence of a specific php page in each folder?
Does exist a function that do that ?
require (get_template_directory() . '/*/header_settings_page.php') ;