CMB2 Conditionals
PluginPlugin to establish conditional relationships between fields in a CMB2 metabox.
- 0 stars
- 0 watching
- 0 downloads
- GPL-3.0-only
-
1.0.4 Latest
Readme
GPL-3.0-onlyCMB2 Conditionals
Plugin to establish conditional relationships between fields in a CMB2 metabox.
CMB2 Conditionals is a plugin for CMB2 which allows developers to relate fields so one of them could only appear when one other have an specific value or when is not empty.
To get started, please follow the examples in the included example-functions.php file.
Installation
If installing the plugin from wordpress.org:
- Upload the entire
/cmb2-conditionalsdirectory to the/wp-content/plugins/directory. - Activate CMB2 Conditionals through the 'Plugins' menu in WordPress.
- Copy (and rename if desired)
example-functions.phpinto to your theme or plugin's directory. - Edit to only include the fields you need and rename the functions.
- Profit.
Install
composer require meteorgpl-plugin/cmb2-conditionals
The vendor’s license checks are intact: activate the plugin in WordPress with a license key bought from the vendor.
License
Declared license: GPL-3.0-only. The code is redistributed under the license the vendor declared in the plugin’s own headers. License profile: gpl-full.
Artwork, fonts, media and documents that may be licensed separately are not redistributed; the licensing page explains what is replaced or removed, and the security tab lists it per version. Support and update entitlement come with the license you buy from the vendor.