bbp_get_form_reply_log_edit()

Return checked value of reply log edit field

Description

Return

(string) Reply log edit checked value

Source

File: bp-forums/replies/template.php

	function bbp_get_form_reply_log_edit() {

		// Get _POST data
		if ( bbp_is_post_request() && isset( $_POST['bbp_log_reply_edit'] ) ) {
			$reply_revision = $_POST['bbp_log_reply_edit'];

		// No data
		} else {
			$reply_revision = 1;
		}

		return apply_filters( 'bbp_get_form_reply_log_edit', checked( $reply_revision, true, false ) );
	}

Changelog

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