[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
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: | 471 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
BP_XProfile_Component:: (13 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()
blocks_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. param: array $includes Array of files to include. since: 1.5.0 |
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. param: array $args Array of globals to set up. since: 1.5.0 |
setup_nav( $main_nav = array() X-Ref |
Set up navigation. param: array $main_nav Array of main nav items to set up. param: array $sub_nav Array of sub nav items to set up. since: 1.5.0 |
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. param: array $wp_admin_nav Admin Bar items. since: 1.5.0 |
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. return: array param: array $wp_admin_nav The settings adminbar nav array. since: 2.0.0 |
rest_api_init( $controllers = array() X-Ref |
Init the BP REST API. param: array $controllers Optional. See BP_Component::rest_api_init() for since: 5.0.0 |
blocks_init( $blocks = array() X-Ref |
Register the BP xProfile Blocks. param: array $blocks Optional. See BP_Component::blocks_init() for since: 9.0.0 |
Generated: Thu Nov 21 01:00:57 2024 | Cross-referenced by PHPXref 0.7.1 |