Skip to content

Instantly share code, notes, and snippets.

Steven Mueller gohrco

View GitHub Profile
@gohrco
gohrco / autocompletedisable.php
Last active May 16, 2016
Add AutoComplete to WHMCS Admin Forms
View autocompletedisable.php
<?php
/**
* Function to add hidden text / password fields for autofillers to use instead
*/
add_hook( 'AdminAreaHeadOutput', 1, function( $vars ) {
return <<< HTML
<input type="text" style="display:none">
<input type="password" style="display:none">
HTML;
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.