WPCloudDeploy Documentation

WP-CONFIG.PHP Entries

The following entries are required in the wp-config.php file for your template site.  We will, of course, have added these for you as part of the WPCloudDeploy Momentum service.  But, you might need to change these in the future (eg: when an api key is compromised) so you need to aware that these exists.

Plus, as you create additional templates, you might want these to have different parameters.

define( 'OPENAI_API_KEY', 'your_openapi_key' );

If you are using FLUENTSMTP or the MAILGUN plugin, you’ll find additional entries related to these items as well.


In the todo list for each tenant site there’s a link to the WooCommerce account area.  The URL for that link is in the tenant wp-config.php file.

define( 'WPMT_WC_MY_ACCOUNT_LINK', 'https://yourdomain.com/my-account' ) ;

Note that the URL must start with https://.

For more information about this entry please see the MISC page.


If you’re using a page builder / theme in the tenant site other than KADENCE, you should set the name in wp-config.php

define( 'WPCD_MOMENTUM_TENANT_PAGEBUILDER', 'none' ) ;

or something like

define( 'WPCD_MOMENTUM_TENANT_PAGEBUILDER', 'blocksy' ) ;

You can then use this value in the tenant custom plugin to conditionally do things that do not apply to other page builders and themes such as Kadence.


 

Share: