bbp_bypass_check_for_flood
bbp_bypass_check_for_flood
Appears in: bbpress.2.6.0, bbpress.2.6.1, bbpress.2.6.11, bbpress.2.6.12, bbpress.2.6.2, bbpress.2.6.3, bbpress.2.6.4, bbpress.2.6.5, bbpress.2.6.6, bbpress.2.6.9
Hook Type: filter
Displaying hooks found in version: bbpress.2.6.9apply_filters('bbp_bypass_check_for_flood') is found 1 times:
- /includes/common/functions.php line 753749750751752753754755756757758759
*/
function
bbp_check_for_flood(
$anonymous_data
=
array
(),
$author_id
= 0 ) {
// Allow for flood check to be skipped
if
( apply_filters(
'bbp_bypass_check_for_flood'
, false,
$anonymous_data
,
$author_id
) ) {
return
true;
}
// Option disabled. No flood checks.
$throttle_time
= get_option(
'_bbp_throttle_time'
);
if
(
empty
(
$throttle_time
) || ! bbp_allow_content_throttle() ) {