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
Return Return
(int) Is anonymous posting allowed?
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 ) ); }
Changelog Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |