Skip to:

How to create a buddypress plugin

  • Profile photo of vijaya.logiclab


    I am new to buddy press.How to created a buddy press plugin. where i add data from admin section and want to show on Activity stream through custom plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of bp-help


    I would give it some time especially if you are new but if you want to jump in to the deep end then study the codex:
    Also See:
    If you don’t understand PHP and WordPress hooks then go through template files and look for do_action. Those are places you can hook into. First you need a file header for WP and BP to recognize it as a plugin, see the second link above. You then need to create a function. You will then add_action to where you need the plugin to execute in BP based on do_action which is the hook, and then you call your function. Here is a brief example:

    Plugin Name: My Plugin
    Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
    Description: A brief description of the Plugin.
    Tags: buddypress
    Version: The Plugin's Version Number, e.g.: 1.0
    Author: Name Of The Plugin Author
    Author URI: http://URI_Of_The_Plugin_Author
    License: A "Slug" license name e.g. GPL2
    function my_plugin() {
     //Your Code Goes Here
    add_action('bp_head', 'my_plugin');

    If this makes no sense what-so-ever then you need to spend more time on the codex and learning PHP because I doubt anyone has the time to give you a complete lesson and it will benefit you more by learning to crawl a bit before you walk.

    Profile photo of vijaya.logiclab


    Thanks for your reply
    I want to add data from my plugin and post that data to activity stream

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to create a buddypress plugin’ is closed to new replies.
Skip to toolbar