Skip to:
Content
Pages
Categories
Search
Top
Bottom

Move topic and subscriptions


  • tunyafix
    Participant

    @tunyafix

    Hi! when we move topic to other forum the subscribed user forum don’t receive the notification.
    Because the action only is performed on new topics
    add_action( 'bbp_new_topic', 'bbp_notify_forum_subscribers', 11, 4 );

    We created on function bbp_move_topic_handler

    
        $topic_author = bbp_get_topic_author_id( $topic_id );
        $anonymous_data = 0;
    
        do_action( 'bbp_move_topic', $topic_id, $new_forum_id, $anonymous_data, $topic_author );
    

    and also added

    
    add_action( 'bbp_move_topic',    'bbp_notify_forum_subscribers',           11, 4 );
    

    But we think it should be part of core
    Best regards

Viewing 1 replies (of 1 total)

  • Robin W
    Moderator

    @robin-w

    it could do with an action link in the topic handler, but you may wait a while for the devs to add that.

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