Skip to content

@claudiosmweb /functions.php
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Custom Social Count Plus Number Format
<?php
/**
* Custom Social Count Plus Number Format.
*
* @param int $number Default number.
*
* @return float New formated number.
*/
function custom_social_count_plus_number_format( $number ) {
return number_format( $number, 0, '', ',' );
}
add_filter( 'social_count_plus_number_format', 'custom_social_count_plus_number_format' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.