bandcamp
The Jetpack by WordPress.com bandcamp shortcode.
Usage
- // basic usage
- echo do_shortcode('[bandcamp]');
- // variable usage
- $result = do_shortcode('[bandcamp]');
- echo $result;
Defined (1)
The shortcode is defined in the following location(s).
- /modules/shortcodes/bandcamp.php
- }
- 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>";
- }
- add_shortcode( 'bandcamp', 'shortcode_handler_bandcamp' );