{"id":153764,"date":"2022-02-23T08:41:03","date_gmt":"2022-02-23T08:41:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/pods-migration\/"},"modified":"2022-02-23T08:40:34","modified_gmt":"2022-02-23T08:40:34","slug":"mybizna-pods-migration","status":"publish","type":"plugin","link":"https:\/\/tah.wordpress.org\/plugins\/mybizna-pods-migration\/","author":15959302,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"5.9.13","requires":"5.4","requires_php":"7.2","requires_plugins":"","header_name":"Mybizna Pods Migration","header_author":"Dedan Irungu","header_description":"Mybizna Pods Migration.","assets_banners_color":"","last_updated":"2022-02-23 08:40:34","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/mybizna.com\/","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/mybizna-pod-Migration\/","header_author_uri":"https:\/\/mybizna.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":891,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"dedanirungu","date":"2022-02-23 08:40:34"},"1.0.1":{"tag":"1.0.1","author":"dedanirungu","date":"2022-02-24 06:12:54"},"1.0.2":{"tag":"1.0.2","author":"dedanirungu","date":"2022-02-24 06:31:59"}},"upgrade_notice":[],"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2329,207954,207955],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-153764","plugin","type-plugin","status-publish","hentry","plugin_tags-pods","plugin_tags-pods-migration","plugin_tags-pods-json","plugin_committers-dedanirungu"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mybizna-pods-migration.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This pods migration plugin to perform pods migration that are saved as pods.json on themes or plugins.<\/p>\n\n<p>I have added new functions to Config.php that has been in development.<\/p>\n\n<p>https:\/\/github.com\/pods-framework\/pods\/pull\/4856<\/p>\n\n<p>The plugin functionality work's as follows;<\/p>\n\n<ul>\n<li>Autodiscover pods.json in themes and those add via pods_config_pre_load_configs.<\/li>\n<li>prepare an array by converting JSON to an array.<\/li>\n<li>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.<\/li>\n<li>Call add_pod at PodsAPI to save the pod<\/li>\n<li>Save new MD5 from the array for reference during the next migration.<\/li>\n<\/ul>\n\n<p>I have only tested with pods with fields and groups only and it is working both for adding, and updating.<\/p>\n\n<p>NOTE: The plugin can not work if wordpress pods is not installed and activated https:\/\/wordpress.org\/plugins\/pods\/<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial development of pods migration plugin.<\/li>\n<\/ul>","raw_excerpt":"This pods migrartion plugin to perform pods migration that are saved as pods.json on themes or plugins.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/153764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=153764"}],"author":[{"embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dedanirungu"}],"wp:attachment":[{"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=153764"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=153764"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=153764"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=153764"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=153764"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/tah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=153764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}