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

Mybizna Pods Migration

描述

This pods migration plugin to perform pods migration that are saved as pods.json on themes or plugins.

I have added new functions to Config.php that has been in development.

https://github.com/pods-framework/pods/pull/4856

The plugin functionality work’s as follows;

  • Autodiscover pods.json in themes and those add via pods_config_pre_load_configs.
  • prepare an array by converting JSON to an array.
  • MD5 the array and compare previously saved MD5 string for previous migrations so as to determine if migration is required.If MD5 is the same the pod is ignored.
  • Call add_pod at PodsAPI to save the pod
  • Save new MD5 from the array for reference during the next migration.

I have only tested with pods with fields and groups only and it is working both for adding, and updating.

NOTE: The plugin can not work if wordpress pods is not installed and activated https://wordpress.org/plugins/pods/

评价

此插件暂无评价。

贡献者及开发者

“Mybizna Pods Migration” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Mybizna Pods Migration”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • Initial development of pods migration plugin.