gde_supported_types
List supported extensions & MIME types.
Description
(array) gde_supported_types();
Returns (array)
List of all supported extensions and their MIME types
Usage
if ( !function_exists( 'gde_supported_types' ) ) { require_once ABSPATH . PLUGINDIR . 'google-doc-embedder/functions.php'; } // NOTICE! Understand what this does before running. $result = gde_supported_types();
Defined (1)
The function is defined in the following location(s).
- /functions.php
- function gde_supported_types() {
- global $gdetypes;
- if ( is_array( $gdetypes ) ) {
- return $gdetypes;
- } else {
- $no_output = 1;
- include_once( GDE_PLUGIN_DIR . 'libs/lib-exts.php' );
- if ( isset( $types ) ) {
- return $types;
- } else {
- return false;
- }
- }
- }