Created
May 21, 2014 23:30
-
-
Save aprea/620566678b76bbffe0a0 to your computer and use it in GitHub Desktop.
Preserve the 'blog_plugic' setting in wp_options when migrating your DB With WP Migrate DB Pro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function custom_preserved_options( $options ) { | |
$options[] = 'blog_public'; | |
return $options; | |
} | |
add_filter( 'wpmdb_preserved_options', 'custom_preserved_options' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment