1. Home
  2. Docs
  3. Application Framework
  4. CLI Reference
  5. update-meta


$ wp mwp update-meta <slug>

The plugin meta data file plugin-dir/data/plugin-meta.php holds information about your plugin which is used when creating new plugin files. It is saved automatically when you create or build your plugin, but can also be updated manually via the WP CLI.


<slug> (required) The slug (directory) of the plugin to update the meta data for
--auto-update (optional) Flag used to automatically set meta data based on plugin header contents.
--filename=<filename> (optional) The filename to read meta data from (Default: plugin.php)
--<key>=<value> (optional) Set any arbitrary key/value in your plugin meta data.


$ wp mwp update-meta acmecompany-gizmo --auto-update --vendor="Acme Company Inc."
Meta data successfully updated.

Was this article helpful to you? Yes No

How can we help?