public function getActivityCount( $activity ) {
		$plugin_activities = $this->getPluginActivities();

		return empty( $plugin_activities[ $activity ] ) ? 0 : $plugin_activities[ $activity ];
	}
public function getActivityCount( $activity ) {
		$plugin_activities = $this->getPluginActivities();

		return empty( $plugin_activities[ $activity ] ) ? 0 : $plugin_activities[ $activity ];
	}
public function getActivityCount ( $ activity ) { $ plugin_activities = $ this -> getPluginActivities ( ) ; return empty ( $ plugin_activities [ $ activity ] ) ? 0 : $ plugin_activities [ $ activity ] ; }
Get the count for an activity.

@since 2.7.7

@param  string $activity The name of the activity.
@return int              The activity's count.
Get the count for an activity .