login.php
ALTCHA protection for the WordPress login form.
Table of Contents
Functions
- creationell_captcha_login_enabled() : bool
- Whether login protection is enabled.
- creationell_captcha_login_render() : void
- Renders the widget inside the login form.
- creationell_captcha_login_verify() : WP_User|WP_Error|null
- Verifies the captcha during an interactive login.
Functions
creationell_captcha_login_enabled()
Whether login protection is enabled.
creationell_captcha_login_enabled() : bool
Return values
boolcreationell_captcha_login_render()
Renders the widget inside the login form.
creationell_captcha_login_render() : void
creationell_captcha_login_verify()
Verifies the captcha during an interactive login.
creationell_captcha_login_verify(WP_User|WP_Error|null $user, string $username, string $password) : WP_User|WP_Error|null
Parameters
- $user : WP_User|WP_Error|null
-
Authenticated user or error.
- $username : string
-
Submitted username.
- $password : string
-
Submitted password.