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 allow an alternative login URL for cases when another plugin, such as a security plugin, blocks the default /wp-login.php.
For example, when users log in using the custom login form, the form submissions typically go to /wp-login.php. However, when using plugins like SiteGround Security Optimizer to set a custom login URL, access to /wp-login.php may be blocked. In such cases, you may need to enable an alternative URL to log in.
Usage
add_filter( 'frmreg_supports_alternative_login_url', '__return_true' );
Parameters
- None
Examples
Allow an alternative login URL
add_filter( 'frmreg_supports_alternative_login_url', '__return_true' );