WP Manifestindependent plugin directory
manifest / developer / cmb2-password-field

CMB2 Password Field

Add a password field to CMB2 to allow protected content input

★ 0stars
523release downloads
v1.0.0latest · 2 years ago

Install

Download cmb2-password-field.zip From the v1.0.0 release on GitHub, Feb 28, 2024

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.zip
No 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
v1.0.0 latest
Feb 28, 2024 2 years ago
cmb2-password-field.zip
523