{"id":8639944,"date":"2017-01-10T22:22:48","date_gmt":"2017-01-10T22:22:48","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/activity-type\/"},"modified":"2017-01-10T22:22:48","modified_gmt":"2017-01-10T22:22:48","slug":"activity-type","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/activity-type\/","title":{"rendered":"Activity type"},"content":{"rendered":"<p>Hello, @sanketparmar<br \/>\nIt seems that there is a filter for activity type. I use RTMedia&#8217;s plugin which makes your wonderful plugin less useful because the share button doesn&#8217;t support their activity type &#8216;rtmedia_update&#8217;.<\/p>\n<p>Is there a reason that this filter exists ? (rhetorical question of course there is) I found it in bp-activity-share\/public\/class-bp-activity-share-public.php in function bp_activity_share_can_share()<\/p>\n<p>If I override it , would it break something ? <\/p>\n<p>I am at the very beginning of my PHP career, but if I write a settings page that would allow selection of the activities, would you consider incorporating it in the plugin ? <\/p>\n","protected":false},"template":"","class_list":["post-8639944","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8639944","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8639944\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8639944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}