bandcamp

The Jetpack by WordPress.com bandcamp shortcode.


Usage

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

Defined (1)

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

/modules/shortcodes/bandcamp.php  
  1.  
  2. return "<iframe width='" . esc_attr( $width ) . "' height='" . esc_attr( $height ) . "' style='position: relative; display: block; width: " . esc_attr( $csswidth ) . "; height: " . esc_attr( $cssheight ) . ";' src='" . esc_url( $url ) . "' allowtransparency='true' frameborder='0'" . $extraAttrs . "></iframe>"; 
  3.  
  4. add_shortcode( 'bandcamp', 'shortcode_handler_bandcamp' );