Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jesussuarz/fea66d31a4df09d50624cae89f77fbc4 to your computer and use it in GitHub Desktop.
Save jesussuarz/fea66d31a4df09d50624cae89f77fbc4 to your computer and use it in GitHub Desktop.

Quitar texto "Powered by WHMCompleteSolution" sin cambiar tipo de licencia.

Para quitar esto sin tener que modificar tu plantilla seria con un archivo hook.

para esto crea un archivo llamado remover.php en includes/hooks

con el siguiente contenido:

<?php
add_hook('ClientAreaFooterOutput', 1, function($vars) {
return <<<HTML
<script>
$("p:contains('Powered by')").remove();
</script>
HTML;
});

?>

de esta forma sin importar la plantilla que uses ni las actualizaciones que hagas, siempre quedara eliminado el "Powered by" de tu whmcs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment