Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/amnestywebsite/cmb2-password-field/releases/download/v1.0.0/cmb2-password-field.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
This plugin adds support for a masked password-style field to CMB2.
Usage
See the CMB2 Wiki for information on how to use CMB2.
This field behaves just like CMB2's text field type.
$metabox->add_field(
[
'name' => 'My API Key',
'desc' => 'API key for some service',
'default' => '',
'id' => 'my-api-key',
'type' => 'password',
]
);Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads