Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/21/2016 10:53:11 PM (8 years ago)
Author:
r-a-y
Message:

Groups: Introduce group type functionality on the Groups Directory page.

If a group type of foo is registered with the has_directory parameter,
you can view a group directory for foo at:
example.com/groups/type/foo/

See #7210.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/classes/class-bp-groups-component.php

    r11091 r11145  
    8484     */
    8585    public $types = array();
     86
     87    /**
     88     * Current directory group type.
     89     *
     90     * @see groups_directory_groups_setup()
     91     *
     92     * @since 2.7.0
     93     * @var string
     94     */
     95    public $current_directory_type = '';
    8696
    8797    /**
Note: See TracChangeset for help on using the changeset viewer.