Skip to:
Content
Pages
Categories
Search
Top
Bottom

Delete Groups forum


  • pratik0007
    Participant

    @pratik0007

    Hi All,

    I am working with buddypress Groups and Forums functionality and I want to delete the Group Forum at the time of delete Groups which is map with that forum.

    I have tried to access bp_forums_delete_group_forum function but its giving me Fatal error about functions not accessible.

    Can anybody suggest a solution to delete associated forum and topics at the time of group deletion.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

  • danbp
    Moderator

    @danbp

    I maybe wrong, but if your group forum contains topics, you must first move these topics to another forum or delete them.
    Once it’s done, you can delete the group and his forum.


    pratik0007
    Participant

    @pratik0007

    Hi danbp,

    Thanks for your reply. I have understood about your solution but I need the script / hook to delete the Group forum, Topics, Tags related to Group while deleting it.

    Could you provide some more details about this like hook or script. I have tried to call the function “bbp_delete_forum($forum_id)”, “bp_forums_delete_group_forum($group_id)” and “bp_delete_forum( $forum_id )” but but its giving me Fatal error about functions not accessible. I am using this function while calling “groups_delete_group( $group_id )”

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete Groups forum’ is closed to new replies.
Skip to toolbar