Disable secondary button in modal login

Simply delete this in userpro/templates/login.php

<?php if ($args["{$template}_button_secondary"]) { ?>
<input type=”button” value=”
<?php echo $args["{$template}_button_secondary"]; ?>” class=”userpro-button secondary” data-template=”<?php echo $args["{$template}_button_action"]; ?>” />
<?php } ?>

You can create a folder in your themes directory “userpro” with a subfolder “templates” an put the modified file login.php there. In this way it will not get lost in case of updates

Was this article helpful?

Related Articles

Leave A Comment?