Skip to:
Content

BuddyPress.org

Changeset 1180 for trunk/bp-forums.php


Ignore:
Timestamp:
03/09/2009 05:34:01 PM (18 years ago)
Author:
apeatling
Message:

Added new user link functions
Added ability to specify a forum ID as the parent forum.
Other minor cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r1162 r1180  
    1919
    2020define ( 'BP_FORUMS_VERSION', '1.0-RC1' );
     21define ( 'BP_FORUMS_PARENT_FORUM_ID', apply_filters( 'bp_forums_parent_forum_id', 0 ) );
    2122
    2223include_once( 'bp-forums/bp-forums-admin.php' );
    … …  
    130131}
    131132
    132 function bp_forums_new_forum( $name = '', $desc = '', $parent = 0, $order = 0, $is_category = false ) {
     133function bp_forums_new_forum( $name = '', $desc = '', $parent = BP_FORUMS_PARENT_FORUM_ID, $order = 0, $is_category = false ) {
    133134        global $bbpress_live;
    134135       
Note: See TracChangeset for help on using the changeset viewer.