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

	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.