Import legacy nurinda.co.id website
This commit is contained in:
1 parent
3f59bb9038
commit
6e21646ac4
13389 files changed
+3246690
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
class us_migration_4_3 extends US_Migration_Translator {
|
||||
|
||||
// Options
|
||||
public function translate_theme_options( &$options ) {
|
||||
$changed = FALSE;
|
||||
|
||||
if ( ! empty( $options['enable_unsupported_vc_shortcodes'] ) AND $options['enable_unsupported_vc_shortcodes'] == 1 ) {
|
||||
$options['disable_extra_vc'] = 0;
|
||||
} else {
|
||||
$options['disable_extra_vc'] = 1;
|
||||
}
|
||||
|
||||
unset( $options['enable_unsupported_vc_shortcodes'] );
|
||||
$changed = TRUE;
|
||||
|
||||
return $changed;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user