This thread is resolved. Here is a description of the problem and solution.
Problem:
You are building a managed WordPress CMS and need to pre-configure WPML automatically, skipping the initial Setup Wizard. You want to set the default language to English, secondary language to Deutch (hidden), and mark the setup as "Complete". You are currently manipulating the
icl_sitepress_settings
option in the database via a custom PHP function and are concerned about the safety and recommendation of this method.
Solution:
We currently do not provide an option to skip the initial setup wizard through an API, hook, or WP-CLI command. The recommended approach is to complete the setup wizard using the WPML user interface.
If this solution does not apply to your case because it might be outdated or not suitable, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
This topic contains 1 reply, has 0 voices.
Last updated by 1 month, 4 weeks ago.
Assisted by: Andrey.