hulu

The WordPress Core hulu shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/hulu.php  
  1.  
  2. // Convert hulu URLS to shortcodes for old comments, saved before comments for shortcodes were enabled 
  3. add_filter( 'comment_text', 'jetpack_hulu_link', 1 ); 
  4.  
  5. add_shortcode( 'hulu', 'jetpack_hulu_shortcode' ); 
  6.  
  7. /** 
  8. * Return a Hulu video ID from a given set to attributes. 
  9. * @since 4.5.0