public_html/wp-content/plugins/google-document-embedder/functions.php
/**
 * Get plugin data
 *
 * @since   2.4.0.1
 * @return  array Array of plugin data parsed from main plugin file
 */
Get plugin data
@since   2.4.0.1
@return  array Array of plugin data parsed from main plugin file
Get plugin data @since 2 . 4 . 0 . 1 @return array Array of plugin data parsed from main plugin file
function gde_get_plugin_data() {
	$mainfile = 'gviewer.php';
	$slug = 'google-document-embedder';
	if ( ! function_exists( 'get_plugin_data' ) ) {
		require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
	}
	$plugin_data  = get_plugin_data( GDE_PLUGIN_DIR . $mainfile );
	$plugin_data['slug'] = $slug;
	$plugin_data['mainfile'] = $mainfile;
	$plugin_data['basename'] = $plugin_data['slug'] . "/" . $mainfile;
	return $plugin_data;
}
function gde_get_plugin_data ( ) { $ mainfile = 'gviewer.php' ; $ slug = 'google-document-embedder' ; if ( ! function_exists ( 'get_plugin_data' ) ) { require_once ( ABSPATH . '/wp-admin/includes/plugin.php' ) ; } $ plugin_data = get_plugin_data ( GDE_PLUGIN_DIR . $ mainfile ) ; $ plugin_data [ 'slug' ] = $ slug ; $ plugin_data [ 'mainfile' ] = $ mainfile ; $ plugin_data [ 'basename' ] = $ plugin_data [ 'slug' ] . " / " . $ mainfile ; return $ plugin_data ; }
Get plugin data
 @since   2.4.0.1
 @return  array Array of plugin data parsed from main plugin file
Get plugin data @since 2 . 4 . 0 . 1 @return array Array of plugin data parsed from main plugin file
// add custom data (lowercase to avoid any future conflicts)