hello
Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : chryzalihi ( 621211) PHP Version : 8.3.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/chryzalihi/www/wp-content/themes/bloglo/inc/compatibility/socialsnap/ |
<?php
/**
* Bloglo Social Snap compatibility functions.
*
* @package Bloglo
* @author Peregrine Themes
* @since 1.0.0
*/
if ( ! function_exists( 'bloglo_entry_meta_shares' ) ) :
/**
* Add share count information to entry meta.
*
* @since 1.0.0
*/
function bloglo_entry_meta_shares() {
$share_count = socialsnap_get_total_share_count();
// Icon.
$icon = bloglo()->icons->get_meta_icon( 'share', bloglo()->icons->get_svg( 'share-2', array( 'aria-hidden' => 'true' ) ) );
$output = sprintf(
'<span class="share-count">%3$s%1$s %2$s</span>',
socialsnap_format_number( $share_count ),
esc_html( _n( 'Share', 'Shares', $share_count, 'bloglo' ) ),
$icon
);
echo wp_kses( apply_filters( 'bloglo_entry_share_count', $output ), bloglo_get_allowed_html_tags() );
}
endif;