
View all posts
How to move protected by reCAPTCHA in WHMCS
In this article we’ll show you how to hide or move the protected by reCAPTCHA icon in WHMCS:
Create a hook file:
First, create a new hook file in your WHMCS installation:
/home/username/public_html/includes/hooks/move_google_recaptcha_logo_css_hook.php
Then, enter the following code and save the file:
<?php
function move_google_recaptcha_logo_css_hook($vars) {
return '<style>.grecaptcha-badge {bottom:125px !important;}</style>';
}
add_hook("ClientAreaFooterOutput", 1, "move_google_recaptcha_logo_css_hook");
?>
You can now change the position of the reCAPTCHA icon simply by changing the bottom:125px
variable.
That’s it!