Skip to content

Instantly share code, notes, and snippets.

View gohrco's full-sized avatar

Steven Mueller gohrco

View GitHub Profile
@gohrco
gohrco / autocompletedisable.php
Last active May 16, 2016 20:03
Add AutoComplete to WHMCS Admin Forms
<?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;