Skip to:
Content
Pages
Categories
Search
Top
Bottom
Codex HomeBuddyPress Plugin Development → Posting Activity from Plugins

Posting Activity from Plugins

Published on March 1st, 2013 by imath

bp_activity_add() This function was introduced in BuddyPress 1.1, it’s located in /bp-activity/bp-activity-functions.php at line 997 (version 1.7-beta1). It needs an array of arguments and returns the activity id once created by the method BP_Activity_Activity::save() BuddyPress uses some aliases to call this function from its different components as detailed in this chart : Functions Components Types […]

Checking for Active Components in Plugins or Themes

Published on February 22nd, 2013 by imath

BuddyPress plugins (and sometimes themes), in order to extend (or display the content of) BuddyPress components generally use their hooks, their functions, template tags or even template parts. In order to avoid errors, it’s even more important to check for active components in BuddyPress 1.7. On a fresh install, version 1.7 only activates the Activity […]

groups_get_groupmeta()

Published on April 12th, 2012 by dennissmolek

Function to get custom group meta. If you don’t pass a meta_key it returns ALL meta data associated with that group_id. Returns String or Array of Meta Values. Odd Behavior: If you pass no meta key to get all values and it has none, it returns a blank array. If you passed a key it […]

bp-custom.php

Published on September 15th, 2010 by Boone Gorges

You’ve probably heard a lot of talk about a bp-custom.php file on the BuddyPress forums or WordPress forums. So what is it? bp-custom.php is a file that resides in your WordPress ‘plugins’ folder where you can add a bunch of custom code hacks and modifications to BuddyPress. bp-custom.php is often compared to your theme’s functions.php […]

Skip to toolbar