bbp_admin_setting_callback_revisions()

Allow topic and reply revisions

Description

Source

File: bp-forums/admin/settings.php

function bbp_admin_setting_callback_revisions() {
?>

	<input name="_bbp_allow_revisions" id="_bbp_allow_revisions" type="checkbox" value="1" <?php checked( bbp_allow_revisions( true ) ); bbp_maybe_admin_setting_disabled( '_bbp_allow_revisions' ); ?> />
	<label for="_bbp_allow_revisions"><?php esc_html_e( 'Allow discussion and reply revision logging', 'buddyboss' ); ?></label>

<?php
}

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.