How to manage MetaBox with WP CLI?

Support General How to manage MetaBox with WP CLI?Resolved

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34514

    Hello!

    We have an installation of WordPress where we would like to totally manage it through WP CLI.

    1. We are installing MetaBox plugin but we have the files inside our repository. However, that prevent us to automatically update the plugin. Is there any way we can install MetaBox through WordPress plugin list, to made it possible to check for updates? Or any other solution we might not be seeing?
    2. Even with MetaBox files inside our repository, making it possible to install and activate the plugin, it still required to enter the license. Is there any way we could enter the license with a command line? There is a post where someone is doing it using a method for ACF, we wondered if that is not possible for MetaBox. Here is the link: https://philkurth.com.au/articles/set-acf-pro-license-key-via-wp-cli/

    Thanks in advance.

    #34526
    Long NguyenLong Nguyen
    Moderator

    Hi,

    1. You can install Meta Box, extensions and manage them via Composer. Please read more on this documentation https://docs.metabox.io/extensions/composer/

    2. Meta Box does not support a function to set the license key programmatically but you can still use the pro extensions on your site and update them via Composer.

    #34550

    Hello!

    Thanks for the answer.

    #35266

    Hello again.

    Is there a way to hide the license key from the URL to install it with composer, inside the composer.json?

    We do not like the idea of having the license key exposed.

    #35312
    Long NguyenLong Nguyen
    Moderator

    Hi,

    It's not possible to hide the license key in the composer.json file. You can exclude this file from the release version.

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.