gview

The Google Doc Embedder gview shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[gview]'); 
  1. // variable usage 
  2. $result = do_shortcode('[gview]'); 
  3. echo $result;  

Defined (1)

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

/gviewer.php  
  1. register_activation_hook( __FILE__, 'gde_activate' ); 
  2. register_deactivation_hook( __FILE__, 'gde_deactivate' ); 
  3.  
  4. // bring the magic 
  5. add_action( 'plugins_loaded', 'gde_load' ); 
  6. add_shortcode( 'gview', 'gde_do_shortcode' ); 
  7.  
  8. function gde_do_shortcode( $atts ) { 
  9. global $healthy, $gdeoptions; //$gdeglobals 
  10.  
  11. // check profile table health