Changeset 958563
- Timestamp:
- 08/01/2014 09:17:03 AM (11 years ago)
- Location:
- multisite-clone-duplicator
- Files:
-
- 2 edited
-
tags/0.2.0/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multisite-clone-duplicator/tags/0.2.0/readme.txt
r958559 r958563 104 104 == Hooks == 105 105 106 **Action : mucd_before_copy_files / mucd_after_copy_files** 107 Action before / after copying files 108 = Args : = 109 1. Int : from_site_id 110 2. Int : to_site_id 106 = Action : mucd_before_copy_files / mucd_after_copy_files = 107 Action before / after copying files 108 **Args :** 111 109 112 **Action : mucd_before_copy_data / mucd_after_copy_data** 113 Action before / after copying data 114 = Args : = 115 1. Int : from_site_id 116 2. Int : to_site_id 110 1. Int : from_site_id 111 2. Int : to_site_id 112 113 114 = Action : mucd_before_copy_data / mucd_after_copy_data = 115 Action before / after copying data 116 **Args :** 117 117 118 **Action : mucd_before_copy_users / mucd_after_copy_users** 119 Action before / after copying users 120 = Args : = 121 1. Int : from_site_id 122 2. Int : to_site_id 118 1. Int : from_site_id 119 2. Int : to_site_id 120 121 122 = Action : mucd_before_copy_users / mucd_after_copy_users = 123 Action before / after copying users 124 **Args :** 123 125 124 **Filter : mucd_copy_blog_data_saved_options** 125 Filter options that should be preserved in the new blog (original values from created blog will not be erased by copy of old site's tables) 126 = Args : = 127 1. Array of ( 'option_name'); 126 1. Int : from_site_id 127 2. Int : to_site_id 128 129 130 = Filter : mucd_copy_blog_data_saved_options = 131 Filter options that should be preserved in the new blog (original values from created blog will not be erased by copy of old site's tables) 132 **Args :** 128 133 129 **Filter : mucd_default_fields_to_update** 130 Filter fields to scan for an update after data copy 131 = Args : = 132 1. Array of ( 'table_name' => array('field_1', 'field_2' ...)); 134 1. Array of ( 'option_name'); 135 136 137 = Filter : mucd_default_fields_to_update = 138 Filter fields to scan for an update after data copy 139 **Args :** 133 140 134 **Filter : mucd_default_primary_tables_to_copy** 135 Filter tables to duplicate when duplicated site is primary site 136 = Args : = 137 1. Array of ( 'table_name'); 141 1. Array of ( 'table_name' => array('field_1', 'field_2' ...)); 142 143 144 = Filter : mucd_default_primary_tables_to_copy = 145 Filter tables to duplicate when duplicated site is primary site 146 **Args :** 138 147 139 **Filter : mucd_copy_dirs** 140 Filter directories and files you want to copy 141 = Args : = 142 1. String : string_to_replace 143 2. Int : from_site_id 144 3. Int : to_site_id 148 1. Array of ( 'table_name'); 149 150 151 = Filter : mucd_copy_dirs = 152 Filter directories and files you want to copy 153 **Args :** 145 154 146 **Filter : mucd_string_to_replace** 147 Filter which strings we want to replace during update 148 = Args : = 149 1. Array of string : dirs 150 2. Int : from_site_id 151 3. Int : to_site_id 155 1. String : string_to_replace 156 2. Int : from_site_id 157 3. Int : to_site_id 158 159 160 = Filter : mucd_string_to_replace = 161 Filter which strings we want to replace during update 162 **Args :** 152 163 164 1. Array of string : dirs 165 2. Int : from_site_id 166 3. Int : to_site_id 167 168 153 169 == Thank’s == 154 170 -
multisite-clone-duplicator/trunk/readme.txt
r958559 r958563 104 104 == Hooks == 105 105 106 **Action : mucd_before_copy_files / mucd_after_copy_files** 107 Action before / after copying files 108 = Args : = 109 1. Int : from_site_id 110 2. Int : to_site_id 106 = Action : mucd_before_copy_files / mucd_after_copy_files = 107 Action before / after copying files 108 **Args :** 111 109 112 **Action : mucd_before_copy_data / mucd_after_copy_data** 113 Action before / after copying data 114 = Args : = 115 1. Int : from_site_id 116 2. Int : to_site_id 110 1. Int : from_site_id 111 2. Int : to_site_id 112 113 114 = Action : mucd_before_copy_data / mucd_after_copy_data = 115 Action before / after copying data 116 **Args :** 117 117 118 **Action : mucd_before_copy_users / mucd_after_copy_users** 119 Action before / after copying users 120 = Args : = 121 1. Int : from_site_id 122 2. Int : to_site_id 118 1. Int : from_site_id 119 2. Int : to_site_id 120 121 122 = Action : mucd_before_copy_users / mucd_after_copy_users = 123 Action before / after copying users 124 **Args :** 123 125 124 **Filter : mucd_copy_blog_data_saved_options** 125 Filter options that should be preserved in the new blog (original values from created blog will not be erased by copy of old site's tables) 126 = Args : = 127 1. Array of ( 'option_name'); 126 1. Int : from_site_id 127 2. Int : to_site_id 128 129 130 = Filter : mucd_copy_blog_data_saved_options = 131 Filter options that should be preserved in the new blog (original values from created blog will not be erased by copy of old site's tables) 132 **Args :** 128 133 129 **Filter : mucd_default_fields_to_update** 130 Filter fields to scan for an update after data copy 131 = Args : = 132 1. Array of ( 'table_name' => array('field_1', 'field_2' ...)); 134 1. Array of ( 'option_name'); 135 136 137 = Filter : mucd_default_fields_to_update = 138 Filter fields to scan for an update after data copy 139 **Args :** 133 140 134 **Filter : mucd_default_primary_tables_to_copy** 135 Filter tables to duplicate when duplicated site is primary site 136 = Args : = 137 1. Array of ( 'table_name'); 141 1. Array of ( 'table_name' => array('field_1', 'field_2' ...)); 142 143 144 = Filter : mucd_default_primary_tables_to_copy = 145 Filter tables to duplicate when duplicated site is primary site 146 **Args :** 138 147 139 **Filter : mucd_copy_dirs** 140 Filter directories and files you want to copy 141 = Args : = 142 1. String : string_to_replace 143 2. Int : from_site_id 144 3. Int : to_site_id 148 1. Array of ( 'table_name'); 149 150 151 = Filter : mucd_copy_dirs = 152 Filter directories and files you want to copy 153 **Args :** 145 154 146 **Filter : mucd_string_to_replace** 147 Filter which strings we want to replace during update 148 = Args : = 149 1. Array of string : dirs 150 2. Int : from_site_id 151 3. Int : to_site_id 155 1. String : string_to_replace 156 2. Int : from_site_id 157 3. Int : to_site_id 158 159 160 = Filter : mucd_string_to_replace = 161 Filter which strings we want to replace during update 162 **Args :** 152 163 164 1. Array of string : dirs 165 2. Int : from_site_id 166 3. Int : to_site_id 167 168 153 169 == Thank’s == 154 170
Note: See TracChangeset
for help on using the changeset viewer.