<shortcode>

The Inline Google Spreadsheet Viewer shortcode shortcode.


Usage

  1. // assign value 
  2. $shortcode = 'dynamic_tag'; 
  3.  
  4. // basic usage 
  5. echo do_shortcode("[$shortcode]"); 
  1. // assign value 
  2. $shortcode = 'dynamic_tag'; 
  3.  
  4. // variable usage 
  5. $result = do_shortcode("[$shortcode]"); 
  6. echo $result;  

Defined (1)

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

/inline-gdocs-viewer.php  
  1. add_action('admin_enqueue_scripts', array($this, 'addAdminScripts')); 
  2. add_action('admin_print_footer_scripts', array($this, 'addQuickTagButton')); 
  3.  
  4. add_action('wp_enqueue_scripts', array($this, 'addFrontEndScripts')); 
  5.  
  6. add_shortcode($this->shortcode, array($this, 'displayShortcode')); 
  7. wp_embed_register_handler( 
  8. $this->shortcode . 'spreadsheet',  
  9. $this->gdoc_url_regex,  
  10. array($this, 'oEmbedHandler') 
  11. );