Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2011 08:39:23 PM (13 years ago)
Author:
johnjamesjacoby
Message:

bp-loader.php is a real boy! Introduce BuddyPress class to handle the loading of BuddyPress core and provide declarations to the $bp global variables. Ports several functions and methods from bbPress 2.0 into bp-core-update.php to manage the hand-off into the update routine. See #3739.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-hooks.php

    r5300 r5309  
    160160}
    161161
     162/** Activation Actions ********************************************************/
     163
     164/**
     165 * Runs on BuddyPress activation
     166 *
     167 * @since BuddyPress (1.6)
     168 *
     169 * @uses do_action() Calls 'bp_activation' hook
     170 */
     171function bp_activation() {
     172    do_action( 'bp_activation' );
     173}
     174
     175/**
     176 * Runs on BuddyPress deactivation
     177 *
     178 * @since BuddyPress (1.6)
     179 *
     180 * @uses do_action() Calls 'bp_deactivation' hook
     181 */
     182function bp_deactivation() {
     183    do_action( 'bp_deactivation' );
     184}
     185
     186/**
     187 * Runs when uninstalling BuddyPress
     188 *
     189 * @since BuddyPress (1.6)
     190 *
     191 * @uses do_action() Calls 'bp_uninstall' hook
     192 */
     193function bp_uninstall() {
     194    do_action( 'bp_uninstall' );
     195}
     196
    162197?>
Note: See TracChangeset for help on using the changeset viewer.