</tfoot>
		</table><?php 
} else {
    ?>

		<p><?php 
    echo $no_social_connected;
    if ($can_link) {
        ?>
				<a class="edd-slg-show-link" href="javascript:void(0);"><?php 
        echo $connect_now_link;
        ?>
</a><?php 
    }
    ?>
		</p><?php 
}
?>

	<div class="edd-slg-profile-link-container" style="<?php 
if ($can_link) {
    echo 'display:none;';
}
?>
"><?php 
// display social link buttons
edd_slg_link_buttons();
?>

	</div>
</div>
 /**
  * Social Link button on thankyou page
  * 
  * Handles to display social link buttons on thankyou page
  * 
  * @package WooCommerce - Social Login
  * @since 1.5.6
  */
 public function edd_slg_maybe_render_social_link_buttons()
 {
     global $post;
     if (is_user_logged_in() && has_shortcode($post->post_content, 'edd_receipt') && edd_slg_check_social_enable() && edd_slg_link_display_on_thankyou_page()) {
         //display link buttons
         edd_slg_link_buttons();
     }
 }