wordpressWordPress Core Functions WordPress function wp_check_filetype Retrieves the file type from the file name. Official Docs Can we pass the URL instead of a filename as the first parameter? Yes.priyankmaniarAugust 5, 2020