bbp_close_forum

bbp_close_forum

Hook Type: action

See hook in core

Displaying hooks found in version: bbpress.2.6.9

do_action('bbp_close_forum') is found 1 times:

  • /includes/forums/functions.php line 738
    function bbp_close_forum( $forum_id = 0 ) {
    
    	$forum_id = bbp_get_forum_id( $forum_id );
    
    	do_action( 'bbp_close_forum',  $forum_id );
    
    	update_post_meta( $forum_id, '_bbp_status', 'closed' );
    
    	do_action( 'bbp_closed_forum', $forum_id );
    
    	return $forum_id;