0, ), $atts, 'advaimma_map' ); $post_id = intval( $atts['id'] ); if ( $post_id <= 0 ) { return ''; } $image_id = get_post_meta( $post_id, 'advaimma_image_id', true ); $image_url = $image_id ? wp_get_attachment_image_url( intval( $image_id ), 'full' ) : ''; $spots = advaimma_get_spots( $post_id ); ob_start(); ?>
>