Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post activity upon creating a new post


  • pakaste
    Participant

    @pakaste

    My end goal is for users to choose which groups they want to post their Social Article when creating a new entry. For now, I have tried to first implement this into regular posts – so far I can list the groups user is part of and make it a checkbox form by creating a new meta box. However I’m not sure how to post new activity to groups.

    Is this supposed to be done using bp_activity_set_action() or bp_groups_record_activity() ?

Viewing 1 replies (of 1 total)

  • Varun Dubey
    Participant

    @vapvarun

    @pakaste
    You can find the reference for setting activity as group activity inside
    /buddypress/bp-activity/bp-activity-actions.php

    $content = apply_filters( 'bp_activity_post_update_content', 'groups' );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar