<?php
/**
 * The Template for displaying social buttons.
 *
 * @version             1.8.0
 * @package           TInvWishlist\Template
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>
<div class="social-buttons">
	<?php if ( ! empty( $share_on ) ) : ?>
		<span><?php echo esc_html( $share_on ) ?></span>
	<?php endif; ?>
	<ul>
		<?php foreach ( $social as $social_name => $social_url ) {
			?>
			<li><a href="<?php echo esc_url( $social_url ); ?>"
			       class="social social-<?php echo esc_attr( $social_name ) . ' ' . esc_attr( tinv_get_option( 'social', 'icon_style' ) ); ?>"><i
						class="ftinvwl ftinvwl-<?php echo esc_attr( $social_name ); ?>"></i></a></li>
		<?php } ?>
	</ul>
</div>
