Changeset 958555
- Timestamp:
- 08/01/2014 08:52:26 AM (12 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
r958554 r958555 103 103 = Hooks = 104 104 105 **Action : mucd_before_copy_files / mucd_after_copy_files** 105 **Action : mucd_before_copy_files / mucd_after_copy_files** 106 106 Action before / after copying files 107 107 Args : 108 1. from_site_id109 2. to_site_id110 108 111 **Action : mucd_before_copy_data / mucd_after_copy_data** 109 1. Int : from_site_id 110 2. Int : to_site_id 111 112 **Action : mucd_before_copy_data / mucd_after_copy_data** 112 113 Action before / after copying data 113 114 Args : 114 1. from_site_id115 2. to_site_id116 115 117 **Action : mucd_before_copy_users / mucd_after_copy_users** 116 1. Int : from_site_id 117 2. Int : to_site_id 118 119 **Action : mucd_before_copy_users / mucd_after_copy_users** 118 120 Action before / after copying users 119 121 Args : 120 1. from_site_id121 2. to_site_id122 122 123 **Filter : mucd_copy_blog_data_saved_options** 123 1. Int : from_site_id 124 2. Int : to_site_id 125 126 **Filter : mucd_copy_blog_data_saved_options** 124 127 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) 125 128 Args : 126 1. array of ( 'option_name');127 129 128 **Filter : mucd_default_fields_to_update** 130 1. Array of ( 'option_name'); 131 132 **Filter : mucd_default_fields_to_update** 129 133 Filter fields to scan for an update after data copy 130 134 Args : 131 1. array of ( 'table_name' => array('field_1', 'field_2' ...));132 135 133 **Filter : mucd_default_primary_tables_to_copy** 136 1. Array of ( 'table_name' => array('field_1', 'field_2' ...)); 137 138 **Filter : mucd_default_primary_tables_to_copy** 134 139 Filter tables to duplicate when duplicated site is primary site 135 140 Args : 136 1. array of ( 'table_name');137 141 138 **Filter : mucd_copy_dirs** 142 1. Array of ( 'table_name'); 143 144 **Filter : mucd_copy_dirs** 139 145 Filter directories and files you want to copy 140 146 Args : 141 1. $string_to_replace142 2. $from_site_id143 3. $to_site_id144 147 145 **Filter : mucd_string_to_replace** 146 Filter which strings we want to replace during update 148 1. String : string_to_replace 149 2. Int : from_site_id 150 3. Int : to_site_id 151 152 **Filter : mucd_string_to_replace** 153 Filter which strings we want to replace during update 147 154 Args : 148 1. $dirs149 2. $from_site_id150 3. $to_site_id151 155 156 1. Array of string : dirs 157 2. Int : from_site_id 158 3. Int : to_site_id 152 159 153 160 = Thank’s = -
multisite-clone-duplicator/trunk/readme.txt
r958554 r958555 103 103 = Hooks = 104 104 105 **Action : mucd_before_copy_files / mucd_after_copy_files** 105 **Action : mucd_before_copy_files / mucd_after_copy_files** 106 106 Action before / after copying files 107 107 Args : 108 1. from_site_id109 2. to_site_id110 108 111 **Action : mucd_before_copy_data / mucd_after_copy_data** 109 1. Int : from_site_id 110 2. Int : to_site_id 111 112 **Action : mucd_before_copy_data / mucd_after_copy_data** 112 113 Action before / after copying data 113 114 Args : 114 1. from_site_id115 2. to_site_id116 115 117 **Action : mucd_before_copy_users / mucd_after_copy_users** 116 1. Int : from_site_id 117 2. Int : to_site_id 118 119 **Action : mucd_before_copy_users / mucd_after_copy_users** 118 120 Action before / after copying users 119 121 Args : 120 1. from_site_id121 2. to_site_id122 122 123 **Filter : mucd_copy_blog_data_saved_options** 123 1. Int : from_site_id 124 2. Int : to_site_id 125 126 **Filter : mucd_copy_blog_data_saved_options** 124 127 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) 125 128 Args : 126 1. array of ( 'option_name');127 129 128 **Filter : mucd_default_fields_to_update** 130 1. Array of ( 'option_name'); 131 132 **Filter : mucd_default_fields_to_update** 129 133 Filter fields to scan for an update after data copy 130 134 Args : 131 1. array of ( 'table_name' => array('field_1', 'field_2' ...));132 135 133 **Filter : mucd_default_primary_tables_to_copy** 136 1. Array of ( 'table_name' => array('field_1', 'field_2' ...)); 137 138 **Filter : mucd_default_primary_tables_to_copy** 134 139 Filter tables to duplicate when duplicated site is primary site 135 140 Args : 136 1. array of ( 'table_name');137 141 138 **Filter : mucd_copy_dirs** 142 1. Array of ( 'table_name'); 143 144 **Filter : mucd_copy_dirs** 139 145 Filter directories and files you want to copy 140 146 Args : 141 1. $string_to_replace142 2. $from_site_id143 3. $to_site_id144 147 145 **Filter : mucd_string_to_replace** 146 Filter which strings we want to replace during update 148 1. String : string_to_replace 149 2. Int : from_site_id 150 3. Int : to_site_id 151 152 **Filter : mucd_string_to_replace** 153 Filter which strings we want to replace during update 147 154 Args : 148 1. $dirs149 2. $from_site_id150 3. $to_site_id151 155 156 1. Array of string : dirs 157 2. Int : from_site_id 158 3. Int : to_site_id 152 159 153 160 = Thank’s =
Note: See TracChangeset
for help on using the changeset viewer.