We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
You must use mucd_default_primary_tables_to_copy filter to declare plugins and custom database tables, or your cloned site won't be complete.
The text was updated successfully, but these errors were encountered:
+1 to this
there is this reference, but looks like it is for people that know how to program with wordpress... other people have no idea how to do step.
Please add some example how to use this feature!
After search for many time, i found this, that i suspect we must add to the theme function.php... but haven't tested yet:
https://wordpress.org/support/topic/using-mucd_default_primary_tables_to_copy/
Notice that the tables names are without wp_ like prefix
function mucd_primary_table_to_copy($primary_tables) { $primary_tables[] = 'addonlibrary_addons'; $primary_tables[] = 'addonlibrary_categories'; $primary_tables[] = 'bp_activity'; $primary_tables[] = 'bp_activity_meta'; $primary_tables[] = 'bp_notifications'; $primary_tables[] = 'bp_notifications_meta'; $primary_tables[] = 'bp_xprofile_data'; $primary_tables[] = 'bp_xprofile_fields'; $primary_tables[] = 'bp_xprofile_groups'; $primary_tables[] = 'bp_xprofile_meta'; return $primary_tables; } add_filter('mucd_default_primary_tables_to_copy', 'mucd_primary_table_to_copy');
@flarestar-xx please rename the ticket to "how to use mucd_default_primary_tables_to_copy", so it is easier to understand
Sorry, something went wrong.
No branches or pull requests
You must use mucd_default_primary_tables_to_copy filter to declare plugins and custom database tables, or your cloned site won't be complete.
The text was updated successfully, but these errors were encountered: