File: bp-forums/core/update.php |
Description |
|---|---|
| bbp_is_update() |
Compare the Forums version to the DB version to determine if updating |
| bbp_is_activation() |
Determine if Forums is being activated |
| bbp_is_deactivation() |
Determine if Forums is being deactivated |
| bbp_version_bump() |
Update the DB to the latest version |
| bbp_setup_updater() |
Setup the Forums updater |
| bbp_create_initial_content() |
Create a default forum, topic, and reply |
| bbp_version_updater() |
Forums’ version updater looks at what the current database version is, and runs whatever other code is needed. |
| bbp_make_current_user_keymaster() |
Hooked to the ‘bbp_activate’ action, this helper function automatically makes the current user a Key Master in the forums if they just activated Forums, regardless of the bbp_allow_global_access() setting. |
| bbp_is_install() |
If there is no raw DB version, this is the first installation |