lytro

The WordPress Core lytro shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/lytro.php  
  1. $src = add_query_arg( $query_args, $src ); 
  2.  
  3. return '<iframe width="' . esc_attr( $atts['width'] ) . '" height="' . esc_attr( $atts['height'] ) . '" src="' . esc_url( $src ) . '" frameborder="0" allowfullscreen scrolling="no"></iframe>'; 
  4.  
  5. add_shortcode( 'lytro', 'jetpack_lytro_shortcode_handler' ); 
  6.  
  7. /** 
  8. * Lytro Shortcode URL to Shortcode Attributes 
  9. * This helper function parses a Lytro.com URL