Exemplo n.º 1
0
/**
 * Update the DB to the latest version
 *
 * @since bbPress (r3421)
 * @uses update_option()
 * @uses bbp_get_db_version() To get bbPress's database version
 */
function bbp_version_bump()
{
    update_option('_bbp_db_version', bbp_get_db_version());
}
Exemplo n.º 2
0
/**
 * Output the bbPress database version
 *
 * @since 2.0.0 bbPress (r3468)
 *
 * @uses bbp_get_version() To get the bbPress version
 */
function bbp_db_version()
{
    echo bbp_get_db_version();
}
Exemplo n.º 3
0
/**
 * Update the DB to the latest version
 *
 * @since bbPress (r3421)
 * @uses update_option()
 * @uses bbp_get_db_version() To get bbPress's database version
 */
function bbp_version_bump()
{
    $db_version = bbp_get_db_version();
    update_option('_bbp_db_version', $db_version);
}