How to duplicate main site?
-
Hi,
Thanks for this plugin. However, I have a question.
How do I use these filters that are mentioned, please?I tried but that doesn’t work.
So I guess I’m doing something wrong.
add_filter( 'MUCD_DEFAULT_PRIMARY_TABLES_TO_COPY', 'devco_copytable' ); function devco_copytable( $tables ) { if(isset($tables)) { $tables[] = 'wp_wdi_feeds'; $tables[] = 'wp_wdi_themes'; $tables[] = 'wp_top_ten'; $tables[] = 'wp_top_ten_daily'; } return $tables; }
Edit: I think I found something. I don’t need the prefix apparently.
- The topic ‘How to duplicate main site?’ is closed to new replies.