[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-xprofile/classes/ -> class-bp-xprofile-component.php (summary)

BuddyPress XProfile Loader. An extended profile component for users. This allows site admins to create groups of fields for users to enter information about themselves.

File Size: 509 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BP_XProfile_Component:: (12 methods):
  __construct()
  includes()
  late_includes()
  setup_globals()
  setup_nav()
  setup_settings_nav()
  setup_admin_bar()
  setup_hooks()
  setup_title()
  setup_cache_groups()
  setup_settings_admin_nav()
  rest_api_init()


Class: BP_XProfile_Component  - X-Ref

Creates our XProfile component.

__construct()   X-Ref
Start the xprofile component creation process.

since: 1.5.0

includes( $includes = array()   X-Ref
Include files.

since: 1.5.0
param: array $includes Array of files to include.

late_includes()   X-Ref
Late includes method.

Only load up certain code when on specific pages.

since: 3.0.0

setup_globals( $args = array()   X-Ref
Setup globals.

The BP_XPROFILE_SLUG constant is deprecated, and only used here for
backwards compatibility.

since: 1.5.0
param: array $args Array of globals to set up.

setup_nav( $main_nav = array()   X-Ref
Set up navigation.

since: 1.5.0
param: array $main_nav Array of main nav items to set up.
param: array $sub_nav  Array of sub nav items to set up.

setup_settings_nav()   X-Ref
Set up the Settings > Profile nav item.

Loaded in a separate method because the Settings component may not
be loaded in time for BP_XProfile_Component::setup_nav().

since: 2.1.0

setup_admin_bar( $wp_admin_nav = array()   X-Ref
Set up the Admin Bar.

since: 1.5.0
param: array $wp_admin_nav Admin Bar items.

setup_hooks()   X-Ref
Add custom hooks.

since: 2.0.0

setup_title()   X-Ref
Sets up the title for pages and <title>.

since: 1.5.0

setup_cache_groups()   X-Ref
Setup cache groups.

since: 2.2.0

setup_settings_admin_nav( $wp_admin_nav )   X-Ref
Adds "Settings > Profile" subnav item under the "Settings" adminbar menu.

since: 2.0.0
param: array $wp_admin_nav The settings adminbar nav array.
return: array

rest_api_init( $controllers = array()   X-Ref
Init the BP REST API.

since: 5.0.0
param: array $controllers Optional. See BP_Component::rest_api_init() for



Generated: Mon Nov 18 01:01:37 2019 Cross-referenced by PHPXref 0.7.1