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:

reCAPTCHA 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!

Related Articles...

Black Friday 2023

Brace yourself for Black Friday 2023

Brace Yourself for the Ultimate Black Friday Extravaganza! Get ready to embark on a shopping spree like never before! This Black Friday, QuickHostUK is rolling out a spectacular sale that will leave you in awe. On Friday, November 24, 2023, dive... Read more
Dive into Data Centre Design & Architecture Video from QuickHostUK

Dive into Data Centre Design & Architecture Video

In our latest blog post, we invite you to embark on a captivating journey into the realm of Data Centre Design and Architecture. In our video tour, we delve into the inner workings of these technological marvels, from server racks to cutting-edge... Read more

This website uses cookies

We use cookies for the analysis of our visitor data, to improve our website, and to give you a great website experience. For more information about the cookies we use, please see our cookie policy.