BP_Group_Extension::get_legacy_property_list()

Return a list of legacy properties.

Description

The legacy implementation of BP_Group_Extension used all of these object properties for configuration. Some have been moved.

Return

(array) List of legacy property keys.

Source

File: bp-groups/classes/class-bp-group-extension.php

1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
protected function get_legacy_property_list() {
    return array(
        'name',
        'slug',
        'admin_name',
        'admin_slug',
        'create_name',
        'create_slug',
        'visibility',
        'create_step_position',
        'nav_item_position',
        'admin_metabox_context',
        'admin_metabox_priority',
        'enable_create_step',
        'enable_nav_item',
        'enable_edit_item',
        'enable_admin_item',
        'nav_item_name',
        'display_hook',
        'template_file',
    );
}

Changelog

Changelog
Version Description
BuddyPress 1.8.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.