This action can be used to display custom HTML after the reCaptcha field.
Changelog
since 7.0.0 version
Parameters
1. $args (type: array) - the arguments of the reCaptcha
2. $currentUser (type: WP_User object) - the user object that is currently logged in
3. $uniqueId (type: string) - the unique ID of the form
4. $isMainForm (type: int/string) – is the loaded comment form main or not
2. $currentUser (type: WP_User object) - the user object that is currently logged in
3. $uniqueId (type: string) - the unique ID of the form
4. $isMainForm (type: int/string) – is the loaded comment form main or not
Usage
add_action("wpdiscuz_captcha_field", function ($args, $currentUser, $uniqueId, $isMainForm) {
if ($isMainForm) {
echo "Custom Message";
}
}, 10, 4);