最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

How to sync staging to production but keep plugin settings

programmeradmin2浏览0评论

Is there a way to sync my staging and production environments, but keep the settings for certain plugins?

For example, I am using a plugin for the Google tag manager. Each environment has a different container id, set in the plugin settings, that I don't want to be synced.

I understand that the plugin data might be saved in the wp_options table. I can't just skip syncing the table as there are parts of that table that do need to be synced between staging and production.

发布评论

评论列表(0)

  1. 暂无评论