Title: MP Customizer Backups
Author: Phil Johnston
Published: <strong>2015 年 4 月 1 日</strong>
Last modified: 2018 年 3 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/mp-customizer-backups/assets/icon-256x256.jpg?rev=1125900)

# MP Customizer Backups

 作者：[Phil Johnston](https://profiles.wordpress.org/johnstonphilip/)

[下载](https://downloads.wordpress.org/plugin/mp-customizer-backups.zip)

 * [详情](https://cn.wordpress.org/plugins/mp-customizer-backups/#description)
 * [评价](https://cn.wordpress.org/plugins/mp-customizer-backups/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/mp-customizer-backups/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/mp-customizer-backups/#developers)

 [支持](https://wordpress.org/support/plugin/mp-customizer-backups/)

## 描述

Feel free to play with your Theme Mods under “Appearance” > “Customizer” without
worrying about losing your settings! When you are happy with your settings, just
click the “Create Backup” button and you’ll always be able to revert to those exact
settings in the future. You can even download the backups to make sure you save 
multiple copies in a safe place.

Or, if you want to develop your customizer locally and then automatically set up
those options to match on your live site, simply download a Customizer Backup and
Upload it to your live site. You could even send your Customizer settings to your
friends or customers.

For Theme/Plugin Developers: This is also a way to create a “Theme within a Theme”–
by allowing a single theme to have many different pre-set styles. For example, you
could use an activation hook in a plugin to use a backup (in JSON format) and make
plugins re-style a Theme. If your plugin does change the Customizer styles, you 
could also trigger an auto backup of the user’s current settings so that you don’t
permanently erase any of the user’s settings.

## 屏幕截图

 * [[
 * Customizer Backups screen.

## 安装

This section describes how to install the plugin and get it working.

 1. Upload the mp-customizer-backups folder to the /wp-content/plugins/ directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Once activated, you’ll see a notice at the top of your dashboard to “Install All
    Items”. Click that – which will install our MP Core plugin – which helps keep our
    plugins small and fast.
 4. Click on “Appearance” > “Customizer Backups” to manage your Customizer Backups.

## 常见问题

  How do I create a backup?

To generate a backup, go to “Appearance” > “Customizer Backups” and click “Generate
Backup”.

  How do I create a backup programmatically?

To programmatically generate a backup of the current Customizer Settings (AKA: Theme
Mods), use this code:

mp_backup_customizer( ‘This backup was created because of XYZ’ );

## 评价

此插件暂无评价。

## 贡献者及开发者

「MP Customizer Backups」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Phil Johnston ](https://profiles.wordpress.org/johnstonphilip/)
 *   [ mintplugins ](https://profiles.wordpress.org/mintplugins/)

[帮助将「MP Customizer Backups」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/mp-customizer-backups)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/mp-customizer-backups/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/mp-customizer-backups/)，或通过[RSS](https://plugins.trac.wordpress.org/log/mp-customizer-backups/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/mp-customizer-backups/)。

## 更新日志

#### 1.0.3

October 8, 2015
 * Made the time() stored in a variable to make sure no delays happen
while code is running. This was triggering an error in some rare situations.

#### 1.0.2

April 4, 2015
 * Changed text on button from “Create Customizer Backup” to the more
accurate “Create/View Customizer Backups”.

#### 1.0.1

April 4, 2015
 * Made it so when you download a backup it auto downloads in a text
file rather than just displaying the JSON on the screen.

#### 1.0.0

April 1, 2015
 * Original release

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**8 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.9.29**
 *  语言
 * [English (US)](https://wordpress.org/plugins/mp-customizer-backups/)
 * 标签
 * [backup](https://cn.wordpress.org/plugins/tags/backup/)[backups](https://cn.wordpress.org/plugins/tags/backups/)
   [customizer](https://cn.wordpress.org/plugins/tags/customizer/)[theme mods](https://cn.wordpress.org/plugins/tags/theme-mods/)
 *  [高级视图](https://cn.wordpress.org/plugins/mp-customizer-backups/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/mp-customizer-backups/reviews/)

## 贡献者

 *   [ Phil Johnston ](https://profiles.wordpress.org/johnstonphilip/)
 *   [ mintplugins ](https://profiles.wordpress.org/mintplugins/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/mp-customizer-backups/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://mintplugins.com/)