hello,
I wanted to duplicate my primary domain say “example.com” to “example.com/test”, the duplication will go fine but the duplicated domain does not look exactly like the main domain. So I hope this post might help me but I don’t know where to paste the codes.
function mucd_primary_table_to_copy($primary_tables) {
$primary_tables[] = ‘frm_fields’;
$primary_tables[] = ‘frm_forms’;
$primary_tables[] = ‘frm_items’;
$primary_tables[] = ‘frm_item_metas’;
return $primary_tables;
}
add_filter(‘mucd_default_primary_tables_to_copy’, ‘mucd_primary_table_to_copy’);
I tried to copy this codes inside functions.php file of the plugin, but no luck. Could you guys please help me.