@squrler
Not recently active
-
squrler started the topic Activity – Displaying category when new post is published in the forum How-to & Troubleshooting 11 years, 5 months ago
Hey there,
I’ve added a custom post type to the activity stream with this code:
function activity_publish_product_posts($productposts) {
$productposts[] = 'g11_dossier_item';
return $productposts;
}
add_filter ( 'bp_blogs_record_post_post_types', 'activity_publish_product_posts' );This works great, whenever I publish a post, it is recorded to…[Read more]