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

  1. if ( !function_exists( 'gde_supported_types' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'google-doc-embedder/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = gde_supported_types(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions.php  
  1. function gde_supported_types() { 
  2. global $gdetypes; 
  3.  
  4. if ( is_array( $gdetypes ) ) { 
  5. return $gdetypes; 
  6. } else { 
  7. $no_output = 1; 
  8. include_once( GDE_PLUGIN_DIR . 'libs/lib-exts.php' ); 
  9.  
  10. if ( isset( $types ) ) { 
  11. return $types; 
  12. } else { 
  13. return false;