Skip to content

Instantly share code, notes, and snippets.

@woodwardtw
Last active February 28, 2021 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save woodwardtw/ed5526fa30c0ccbc1d12710c01573403 to your computer and use it in GitHub Desktop.
Save woodwardtw/ed5526fa30c0ccbc1d12710c01573403 to your computer and use it in GitHub Desktop.
NS Cloner options
on: ns_cloner_process_init
clone_mode: core
teleport_full_network:
source_id: 5 //source site ID
target_title: text clone //destination title
target_name: testclone //destination url element
tables_to_clone[]: wp_5_commentmeta //default tables for a site with ID 5
tables_to_clone[]: wp_5_comments
tables_to_clone[]: wp_5_links
tables_to_clone[]: wp_5_options
tables_to_clone[]: wp_5_postmeta
tables_to_clone[]: wp_5_posts
tables_to_clone[]: wp_5_term_relationships
tables_to_clone[]: wp_5_term_taxonomy
tables_to_clone[]: wp_5_termmeta
tables_to_clone[]: wp_5_terms //end tables
do_copy_posts: 1 //copy posts 1 = true
post_types_to_clone[]: page //can customize post types . . .
post_types_to_clone[]: post
post_types_to_clone[]: revision
custom_search[]:
custom_replace[]:
case_sensitive: 1
new_user_names[]:
new_user_emails[]:
do_user_notify: 1
do_copy_users: 1
do_copy_files: 1
preset_name:
debug:
rows_per_query:
progress_update_interval:
skip_views:
skip_constraints:
clone_nonce:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment