{"id":11151,"date":"2010-11-13T15:14:13","date_gmt":"2010-11-13T15:14:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/unhook-while-switched-framework\/"},"modified":"2011-01-26T21:05:46","modified_gmt":"2011-01-26T21:05:46","slug":"unhook-while-switched-framework","status":"publish","type":"plugin","link":"https:\/\/th.wordpress.org\/plugins\/unhook-while-switched-framework\/","author":3023607,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"trunk","tested":"3.1.4","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"Switch Framework for WordPress","header_author":"Ron Rennick (http:\/\/ronandandrea.com)","header_description":"","assets_banners_color":"","last_updated":"2011-01-26 21:05:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/ronandandrea.com\/plugins\/unhook-while-switched\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1318,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[441,325,62733,2474],"plugin_category":[51],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-11151","plugin","type-plugin","status-publish","hentry","plugin_tags-multisite","plugin_tags-network","plugin_tags-switched","plugin_tags-utility","plugin_category-multisite","plugin_committers-wpmuguru"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/unhook-while-switched-framework.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin adds two hooks to your WordPress network for plugins to use to unhook while switched and re-hook when restored to the original site. It include sample functions that unhooks and re-hooks the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/subscribe2\/\">Subscribe2<\/a> plugin. Plugin authors can safely code their plugins to use the hooks without having to code in checks for the plugin being active.<\/p>\n <p>This plugin was written by <a href=\"http:\/\/ronandandrea.com\/\">Ron Rennick<\/a> in collaboration with the <a href=\"http:\/\/dev.commons.gc.cuny.edu\/\">CUNY Academic Commons<\/a>.<\/p>\n <p><a href=\"http:\/\/wpmututorials.com\/plugins\/unhook-while-switched\/\">Plugin Page<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>unhook-while-switched-framework<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Network activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n <p>OR<\/p>\n <ol>\n<li>Upload ra-unhook-while-switched.php to the  <code>\/wp-content\/mu-plugins\/<\/code> directory<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n <ul>\n<li>Original version.<\/li>\n<\/ul>","raw_excerpt":"A framework for unhooking plugins while switched in a WP network.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11151"}],"author":[{"embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpmuguru"}],"wp:attachment":[{"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11151"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11151"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11151"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11151"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11151"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/th.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}