getty

The WordPress Core getty shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/getty.php  
  1.  
  2. // Allow iframes to be filtered to short code (so direct copy+paste can be done) 
  3. add_filter( 'pre_kses', 'wpcom_shortcodereverse_getty' ); 
  4.  
  5. // Actually display the Getty Embed 
  6. add_shortcode( 'getty', 'jetpack_getty_shortcode' ); 
  7.  
  8. /** 
  9. * Compose shortcode based on Getty iframes.