bp_get_db_version_raw()

Return the BuddyPress database version.

Description

Return

(string) The BuddyPress version direct from the database.

Source

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

67
68
69
70
function bp_get_db_version_raw() {
    $bp = buddypress();
    return !empty( $bp->db_version_raw ) ? $bp->db_version_raw : 0;
}

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.