private function filter_item($entry) { // first, lets get an array of all actice mods $needles = reclaim_core::modNameList(); // we don't want twitter to filter itself if (($key = array_search('twitter', $needles)) !== false) { unset($needles[$key]); } // and now lets check if the tweet source matches any of the mod names // this should filter out instagram, yelp, youtube, etc. if (parent::strpos_array($entry['source'], $needles)) { parent::log('filtered a tweet because of this source: ' . $entry['source']); return true; } else { return false; } }