Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_shortcode( 'googlemaps', 'flh_wpcomgms_shortcode_handler' );
- function flh_wpcomgms_shortcode_handler( $attr ) {
- $output = '<iframe width="425" height="350" frameborder="0" scrolling="no" ';
- $output .= 'marginheight="0" marginwidth="0" src="';
- $output .= esc_url( $attr[0] );
- $output .= '"></iframe>';
- return $output;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement