Support » Plugin: Preferred Languages » WP-CLI Preferred-Languahes

  • Hey,

    Is it possible to update preferred-languages plugin options using wp-cli?

    Where can I find docs or how can I add languages though wp-cli?

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author Pascal Birchler

    (@swissspidy)

    Hi Mauricio,

    The preferred languages list is stored in wp_options (for the site language) or wp_usermeta (for the user language). You can use existing WP-CLI commands like wp option update and wp user meta update to modify them.

    Use wp option update --help to get help and see some examples.

    Ask for help in the #cli Slack channel if you need further assistance on using WP-CLI.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.