WP_Image_Editor::get_extension()
Returns first matched extension from Mime-type, as mapped from wp_get_mime_types()
Welcome to the WPPaste WordPress Method index. This page contains a an alphabetically sorted list of methods that are available for use in WordPress. Each method has a brief description of what it does and how it can be used. To find out more about a particular method, simply click on the method name.
Returns first matched extension from Mime-type, as mapped from wp_get_mime_types()
Returns first matched mime-type from extension, as mapped from wp_get_mime_types()
Returns preferred mime-type and extension based on provided file’s extension and mime, or current file’s extension and mime.
Gets the Image Compression quality on a 1-100% scale.
Gets dimensions of image.
Builds and returns proper suffix for file based on height and width.
Loads image from $this->file into editor.
Either calls editor’s save function or handles file as a stream.
Check if a JPEG image has EXIF Orientation tag and rotate it if needed.
Resize multiple images from a single source.