Skip to:
Content
Pages
Categories
Search
Top
Bottom
Codex Home

BP_Attachment

Published on May 6th, 2015 by Mathieu Viet

Note: This guide is for use with BuddyPress 2.3+. Version 2.3.0 introduced the BuddyPress Attachments API. In the first place, we use it to manage particular user submitted files: their profile photo or the profile photo of the group the user is an admin/creator of. A BuddyPress attachment is a file you “attach” to a […]

Add custom filters to loops and enjoy them within your plugin

Published on December 3rd, 2013 by Mathieu Viet

BuddyPress uses loops to display the content of its components. In this article you will focus on how to “rearrange” the content displayed in four of its major components : Members, Groups, Blogs and finally Activity. You will achieve this thanks to the type or action argument of the init functions of each of these […]

Enqueueing Scripts or Styles only when your plugin needs it

Published on November 17th, 2013 by Mathieu Viet

Using Javascipt or CSS in BuddyPress plugins are interesting ways to take care of the user experience. I think, as a plugin author, you need to have two concerns : you might not be the only one to use Javascript, other plugins can be activated in the community website, your CSS rules might not get […]

Group Meta Queries: Usage Example

Published on November 4th, 2013 by Mathieu Viet

Since version 1.8, it is possible to filter groups by Metadata. For instance you can add a meta_query parameter to the bp_has_groups() function. To make this possible, BuddyPress uses a built-in WordPress class : WP_Meta_Query (you will find a link to its WordPress codex page at the bottom of this article). This feature can help […]

BP_Group_Member_Query

Published on July 18th, 2013 by Rami Yushuvaev

Documentation for the BP_Group_Member_Query class, introduced in BuddyPress 1.8, will live here.

Group Extension API

Published on July 16th, 2013 by Boone Gorges

We are currently working on a documentation reboot, here’s the new home of the best accurate docs (WIP). You’re very welcome to contribute to it. Updated documentation for this section is available here. Note: This guide is for use with BuddyPress 1.8+. A guide for using the Group Extension API with earlier versions of BP […]

Group Extension API (legacy)

Published on July 16th, 2013 by Boone Gorges

We are currently working on a documentation reboot, here’s the new home of the best accurate docs (WIP). You’re very welcome to contribute to it. Updated documentation for this section is available here. Archived file. Good only up to BP 1.7 version Note: This guide is for use with versions of BuddyPress older than 1.8. […]

BP_Component

Published on December 2nd, 2012 by modemlooper

We are currently working on a documentation reboot, here’s the new home of the best accurate docs (WIP). You’re very welcome to contribute to it. The BP_Component class is the basis of getting your plugin initiated into BuddyPress. You extend this class to create custom components. In fact, the core components extend this class to […]

BP_User_Query

Published on September 7th, 2012 by shanebp

BP_User_Query Class The BP_User_Query class was introduced in BuddyPress 1.7 as part of making BuddyPress more scalable. The class lives in buddypress/bp-core/classes/class-bp-user-query.php.  Review the current class for additional arguments not listed here, such as:  member types and xprofile_query. Accepted Parameters type (optional) Defines the type of users to return. Accepted arguments: active, newest, popular, online, […]

Skip to toolbar