Description
This is a filter hook for customizing the HTML for the WP-Members captcha. It fires for all of the available captchas, regardless of which captcha is selected.
NOTE: While it can be used to customize the HTML and thus implement a different, unsupported captcha, that process would also involve handling the captcha result in form validation. The simple use of this filter is simply to handle customizing the HTML for the existing, selected captcha type.
Parameters
$html
(string)(required) The HTML for the captcha
Example
[snippet slug=wpmem_captcha lang=php]
Changelog
- Introduced in version 3.3.5
Source
wpmem_captcha
is located in /includes/class-wp-members-captcha.php