Modify the random factor of fake shares

Use the code above in your functions.php to return the fake share count calculated by the amount of characters instead words.
function change_mashsb_count_factor($factor){
$characters = strlen( the_title_attribute('echo=0') );
$factor = $characters / 10;
return $factor;
}
add_filter('mashsb_fake_factor', 'change_mashsb_count_factor')

Still need help? Contact Us Contact Us