Heads up!
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
This article contains PHP code and is intended for developers. We offer this code as a courtesy, but don't provide support for code customizations or 3rd party development.
Use this filter to show and hide the password icons.
Usage
add_filter('frm_pro_show_password_icons', 'show_password_icons');
Parameters
- icons (array): An array with two items.
- 'show' => 'HTML of show icon'
- 'hide' => 'HTML of hide icon'
Examples
Change password icons
add_filter('frm_pro_show_password_icons', 'change_password_icons');
function change_password_icons( $icons ) {
$icons['show'] = 'new show icon';
$icons['hide'] = 'new hide icon';
return $icons;
}