bp_activation()

Fire activation hooks and events.

Description

Runs on BuddyPress activation.

Source

File: bp-core/bp-core-update.php

986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
function bp_activation() {
 
    // Force refresh theme roots.
    delete_site_transient( 'theme_roots' );
 
    // Add options.
    bp_add_options();
 
    /**
     * Fires during the activation of BuddyPress.
     *
     * Use as of 1.6.0.
     *
     * @since BuddyPress 1.6.0
     */
    do_action( 'bp_activation' );
 
    // @deprecated as of 1.6.0
    do_action( 'bp_loader_activate' );
}

Changelog

Changelog
Version Description
BuddyPress 1.6.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.