Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Custom Social Count Plus Number Format
* 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.