bbp_close_topic

bbp_close_topic

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_close_topic') is found 1 times:

  • /includes/topics/functions.php line 2828
    	// Set status meta public
    	$topic_status = $topic->post_status;
    
    	// Execute pre close code
    	do_action( 'bbp_close_topic', $topic_id );
    
    	// Add pre close status
    	add_post_meta( $topic_id, '_bbp_status', $topic_status );
    
    	// Set closed status
    	$topic->post_status = $status;