BP_GOPP_Image_Editor_GS::supports_mime_type( string $mime_type )
Checks to see if editor supports the mime-type specified.
Description
Parameters
- $mime_type
-
(string) (Required)
Return
(bool)
Source
File: bp-document/classes/class-bp-gopp-image-editor-gs.php
public static function supports_mime_type( $mime_type ) { return 'pdf' === strtolower( self::get_extension( $mime_type ) ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.