gde_options

The Google Doc Embedder gde options function.

Description

gde_options(); 

Usage

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

Defined (1)

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

/functions-admin.php  
  1. function gde_options() { 
  2. if (! current_user_can('manage_options') ) wp_die('You don\'t have access to this page.'); 
  3. if (! user_can_access_admin_page()) wp_die( __('You do not have sufficient permissions to access this page', 'google-document-embedder') ); 
  4.  
  5. require( GDE_PLUGIN_DIR . 'options.php' );