bbp_get_edit_lock( bool $default = 5 )

Return the number of minutes a topic or reply can be edited after it’s published. Used by bbp_past_edit_lock().


Description Description


Parameters Parameters

$default

(Optional) Default value 5

Default value: 5


Top ↑

Return Return

(int) Is anonymous posting allowed?


Top ↑

Source Source

File: includes/core/options.php

	function bbp_get_edit_lock( $default = 5 ) {

		// Filter & return
		return (int) apply_filters( 'bbp_get_edit_lock', (int) get_option( '_bbp_edit_lock', $default ) );
	}

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.