This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this filter to handle custom login limiting rules. This filter gets turned on by default if a login limiting plugin is detected (currently Loginizer and Limit Login Attempts are supported).
Usage
add_filter( 'frm_reg_login_limit_feature_activated', '__return_true' );
Parameters
- None
Examples
Turn on login limit filter
Use this code example to turn on the filter if it was turned off because Loginizer or Limit Login Attempts were inactive.
add_filter( 'frm_reg_login_limit_feature_activated', '__return_true' );
Turn off login limit filter
Use this code example to turn off the filter if it was turned on because Loginizer or Limit Login Attempts were active.
add_filter( 'frm_reg_login_limit_feature_activated', '__return_false' );