automex / cmb2-hide-show-password-field

Hide/Show Password Field for CMB2 Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmb2-hide-show-password-field

Adds a Hide/Show Password Field to CMB2.

Usage

$amex_metabox = new_cmb2_box( array(
    'title' => __('Metabox', 'myprefix'),
    'id'    => 'amex_hide_show_field_type_demo'
));

$amex_metabox_fields = $amex_metabox->add_field(array(
    'name' => __( 'Hide/show field', 'myprefix'),
    'id'   => 'amex_custom_field',
    'type' => 'hide_show_password'
));

$amex_metabox_fields = $amex_metabox->add_field(array(
    'name' => __( 'Hide/show field medium', 'myprefix'),
    'id'   => 'amex_custom_field_m',
    'type' => 'hide_show_password_medium'
));

Screenshot

screenshot

WordPress.org

This plugin is also published on the WordPress Repository and could be found here!

License

The code and the documentation are released under the GPLv3 License.

About

Hide/Show Password Field for CMB2 Framework

License:GNU General Public License v3.0


Languages

Language:PHP 73.4%Language:JavaScript 16.1%Language:CSS 10.4%