Skip to:
Content

BuddyPress.org

Changeset 9745


Ignore:
Timestamp:
04/13/2015 03:04:18 PM (10 years ago)
Author:
tw2113
Message:

Adds hooks documentation for bp-core-update.php.

Props CristinaCannon.

See #5940.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-update.php

    r9718 r9745  
    188188    $raw_db_version = (int) bp_get_db_version_raw();
    189189
     190    /**
     191     * Filters the default components to activate for a new install.
     192     *
     193     * @since BuddyPress (1.7.0)
     194     *
     195     * @param array $value Array of default components to activate.
     196     */
    190197    $default_components = apply_filters( 'bp_new_install_default_components', array(
    191198        'activity'      => 1,
     
    615622    bp_add_options();
    616623
    617     // Use as of (1.6)
     624    /**
     625     * Fires during the activation of BuddyPress.
     626     *
     627     * Use as of (1.6.0)
     628     *
     629     * @since BuddyPress (1.6.0)
     630     */
    618631    do_action( 'bp_activation' );
    619632
     
    644657    }
    645658
    646     // Use as of (1.6)
     659    /**
     660     * Fires during the deactivation of BuddyPress.
     661     *
     662     * Use as of (1.6.0)
     663     *
     664     * @since BuddyPress (1.6.0)
     665     */
    647666    do_action( 'bp_deactivation' );
    648667
     
    661680 */
    662681function bp_uninstall() {
     682
     683    /**
     684     * Fires during the uninstallation of BuddyPress.
     685     *
     686     * @since BuddyPress (1.6.0)
     687     */
    663688    do_action( 'bp_uninstall' );
    664689}
Note: See TracChangeset for help on using the changeset viewer.