googleapps

The WordPress Core googleapps shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/googleapps.php  
  1. /* Generic 
  2. * <iframe src="https://docs.google.com/file/d/0B0SIdZW7iu-zX1RWREJpMXVHZVU/preview" width="640" height="480"></iframe> 
  3. */ 
  4.  
  5. add_filter( 'pre_kses', 'googleapps_embed_to_shortcode' ); 
  6. add_shortcode( 'googleapps', 'googleapps_shortcode' ); 
  7.  
  8. /** 
  9. * Reverse iframe embed to shortcode mapping HTML attributes to shortcode attributes. 
  10. * @since 4.5.0