Rarely used (category)

attachment_url_to_postid()

Trying to get the attachment ID (image from the media library) by the specified attachment URL.

get_allowed_mime_types()

Gets the list of allowed file types. Returns an array: extension => mime/type.

wp_get_audio_extensions()

Gets an array of audio formats supported in WordPress. Gets file extensions.

wp_get_avif_info()

Extracts metadata of the specified AVIF image. Such as: width, height, color depth and number of channels.

wp_get_ext_types()

Gets a list of basic file extensions by type. For example, image extensions, audio file extensions, video file extensions, etc.

wp_get_video_extensions()

Retrieves an array of supported video formats in WordPress. Retrieves file extensions.

wp_getimagesize()

Gets the image dimensions and other related information.

wp_read_image_metadata()

Gathers an array of useful image metadata from the exif and iptc file metadata.