Skip to:
Content
Pages
Categories
Search
Top
Bottom

Change Forum ID for a Given Topic

  • @robsward

    Participant

    Hi,

    How can I move a topic from one forum to another programmatically? I’m hoping to send a post variable with the new forum ID, and then update the topic like so:

    // Update the Status Meta After Changes are Posted
    if ( isset( $_POST['bbps_forum_option'] ) ) {
    
    	$new_forum = $_POST['bbps_forum_option'];
    
    	bbp_update_topic( $this->topic_id, $new_forum );
    
    } // if()

    Thanks!

  • You must be logged in to reply to this topic.
Skip to toolbar