buddypress/docs/developer/component
Mathieu Viet 173a712686 Improve contributor & developer documentation fixing some typos
Props shailu25

Fixes #9120



git-svn-id: https://buddypress.svn.wordpress.org/trunk@13769 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
2024-03-10 14:44:38 +00:00
..
build-component.md Improve contributor & developer documentation fixing some typos 2024-03-10 14:44:38 +00:00
README.md Document how to build a custom component using BP Component API 2023-07-13 08:15:15 +00:00

BuddyPress Components

BP Settings / Components

BuddyPress comes with several components that integrate directly with your site, with each other, and even with other plugins (check out bbPress for support forums). Site administrators can select the optional components they wish to activate for their community. Only 2 components are required and are always loaded into BuddyPress:

  • the Core component
  • the Members component

Extending existing components

TBD.

Building a custom component

The more convenient way to build a custom component is to extend the BP_Component class from your plugin. This class contains methods you can override to set your component's globals such as the has_directory one which informs about whether your component is using a directory page or not, include the files your component needs, register and set up your component's displayed user navigation, customize your component's routes, init your component's REST API Endpoints or Blocks, etc.

Read about the BP Component details to learn more about it.