array( 'affected_fields' => array( 'orderby' => $this->get_modules(), ), ), ); return $fields; } public function migrate( $field_name, $current_value, $module_slug, $saved_value, $saved_field_name, $attrs, $content, $module_address ) { return '' === $current_value ? 'menu_order' : $saved_value; } } return new ET_Builder_Module_Settings_Migration_ShopOrderByDefault();