bbp_opened_forum

  • do_action( 'bbp_opened_forum', $forum_id )

    Source Reference:

    • Component: bbPress:: bbp-forum
      File: /bbp-includes/bbp-forum-functions.php :: Trac Source Line: 145
       */
      function bbp_open_forum( $forum_id = 0 ) {
      
      	$forum_id = bbp_get_forum_id( $forum_id );
      
      	do_action( 'bbp_open_forum',   $forum_id );
      
      	update_post_meta( $forum_id, '_bbp_status', 'open' );
      
      	do_action( 'bbp_opened_forum', $forum_id );
      
      	return $forum_id;
      }
      
      /**
       * Make the forum a category
       *
       * @since bbPress (r2746)
       *
       * @param int $forum_id Optional. Forum id
      

Comments are closed.