bbp_allow_revisions( $default = 1 )

Are topic and reply revisions allowed

Description

Parameters

$default

(Optional) bool Optional. Default value true

Default value: 1

Return

(bool) Are revisions allowed?

Source

File: bp-forums/core/options.php

function bbp_allow_revisions( $default = 1 ) {
	return (bool) apply_filters( 'bbp_allow_revisions', (bool) get_option( '_bbp_allow_revisions', $default ) );
}

Changelog

Changelog
Version Description
bbPress (r3412) 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.