1. Home
  2. Docs
  3. Woolementor
  4. Can I hide the license key of Woolementor?

Can I hide the license key of Woolementor?

If you want to install Woolementor on client’s site, and don’t want the license key to be visible on the activation page then you should add this code-

<?php
add_action( 'admin_head', 'woolementor_hide_key' );
function woolementor_hide_key() {
    ?>
    <script>
    jQuery(function($){
        $('#woolementor-pro-woolementor-pro-php').attr('type','password')
    })
    </script>
    <?php
}

Update: as of Woolementor 1.3.0, the license key is always hidden by default.

Was this article helpful to you? Yes 1 No