Meta Box Generator WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA GitLab
A WordPress plugin for generating meta boxes
★ 0stars
68composer installs
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitLab with WP-CLI:
wp plugin install https://gitlab.com/api/v4/projects/9612081/packages/generic/meta-box-generator/1.0.2/meta-box-generator.zipOn Packagist as grofftech/meta-box-generator:
composer require grofftech/meta-box-generatorNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Meta Box Generator
Meta Box Generator is a WordPress plugin for allowing database migrations to be done with code.
Requirements
- Composer version 2+ https://getcomposer.org/
Installation
Installing this plugin assumes you are managing plugins for a WordPress site with composer or wp-packagist. It is currently not part of the WordPress plugin repository so it can't be installed with wp-packagist.
Add the following configuration to your composer.json. If you are managing plugins with wp-packagist, this configuration may already be present.
Install with composer
Usage
Metabox Configuration
Hook into the filter mbgaddmetaboxconfigurationfiles and include file(s) that have an array returned like the sample below. Make sure the filter is configured in your plugin during its initialization, so that it can be properly registered.
For your returned array, use the sample below. Replace the metabox.sample key in the array to the name of the meta box you are configuring (e.g. metabox.article). Update the addmetabox configuration to be specific for your meta box. See https://developer.wordpress.org/reference/functions/addmetabox/. Update the view key to a directory path of your view
Releases
3 releases.
Tag
Published
Assets
GitLab does not publish per-asset download counts, so this plugin ranks on stars and activity only.