[Support request] How to activate addons with the wp-cli?

Home Forums Support How to activate addons with the wp-cli?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #305764
    Roberto Enrique

    Hi! I’ve been playing around with the wp-cli and customized a script to automate the installation of my base setup when doing websites. You can see the script here:


    Is it possible to activate the premium addons from the command line?

    Lead Developer
    Lead Developer

    That looks awesome!

    You might be able to do something like this:

    wp option update generate_package_backgrounds 'activated'
    wp option update generate_package_blog 'activated'
    wp option update generate_package_colors 'activated'
    wp option update generate_package_copyright 'activated'
    wp option update generate_package_disable_elements 'activated'
    wp option update generate_package_hooks 'activated'
    wp option update generate_package_import_export 'activated'
    wp option update generate_package_page_header 'activated'
    wp option update generate_package_secondary_nav 'activated'
    wp option update generate_package_spacing 'activated'
    wp option update generate_package_typography 'activated'
    wp option update generate_package_sections 'activated'
    wp option update generate_package_menu_plus 'activated'
    Roberto Enrique


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