abstract public function ShareaholicShareCount::get_counts in Share Buttons, Related Posts, Content Analytics - Shareaholic 8
Same name and namespace in other branches
- 7.3 lib/social-share-counts/share_count.php \ShareaholicShareCount::get_counts()
The abstract function to be implemented by its children This function should get all the counts for the supported services
It should return an associative array with the services as the keys and the counts as the value.
Example: array('facebook' => 12, 'pinterest' => 0, 'twitter' => 14, ...);
Return value
Array an associative array of service => counts
2 methods override ShareaholicShareCount::get_counts()
- ShareaholicCurlMultiShareCount::get_counts in lib/
social-share-counts/ curl_multi_share_count.php - This function should get all the counts for the supported services
- ShareaholicSeqShareCount::get_counts in lib/
social-share-counts/ seq_share_count.php - This function should get all the counts for the supported services
File
- lib/
social-share-counts/ share_count.php, line 323
Class
- ShareaholicShareCount
- An abstract class Share Counts to be extended
Code
public abstract function get_counts();