shake_error_codes WordPress Filter Hook
The shake_error_codes hook is used to display an error message when a user tries to access a site that is not available.
apply_filters( 'shake_error_codes', string[] $shake_error_codes ) #
Filters the error codes array for shaking the login form.
Parameters
- $shake_error_codes
(string[])Error codes that shake the login form.
Source
File: wp-login.php
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |