ted

The Jetpack by WordPress.com ted shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/ted.php  
  1.  
  2. function jetpack_shortcode_get_ted_id( $atts ) { 
  3. return ( ! empty( $atts['id'] ) ? $atts['id'] : 0 ); 
  4.  
  5. add_shortcode( 'ted', 'shortcode_ted' ); 
  6. function shortcode_ted( $atts, $content = '' ) { 
  7. global $wp_embed; 
  8.  
  9. $defaults = array( 
  10. 'id' => '',