<?php

if ( ! function_exists( 'calla_elated_like' ) ) {
	/**
	 * Returns CallaElatedLike instance
	 *
	 * @return CallaElatedLike
	 */
	function calla_elated_like() {
		return CallaElatedLike::get_instance();
	}
}

function calla_elated_get_like() {
	
	echo wp_kses( calla_elated_like()->add_like(), array(
		'span' => array(
			'class'       => true,
			'aria-hidden' => true,
			'style'       => true,
			'id'          => true
		),
		'i'    => array(
			'class' => true,
			'style' => true,
			'id'    => true
		),
		'a'    => array(
			'href'  => true,
			'class' => true,
			'id'    => true,
			'title' => true,
			'style' => true
		)
	) );
}