← All changes
|
backend/src/Hooks/Actions/OnCustomizeRegister.php
+1
-1
0.7.0.9
→
1.5.5.1
View file →
| @@ -20,9 +20,9 @@ | ||
| 20 | 20 | if ( isset( $_POST['fl_assistant_export'] ) && is_numeric( $_POST['fl_assistant_export'] ) ) { |
| 21 | 21 | |
| 22 | 22 | $id = absint( $_POST['fl_assistant_export'] ); |
| 23 | 23 | $service = new CustomizerService(); |
| 24 | - $response = $service->export_to_cloud( $id ); | |
| 24 | + $response = $service->export_to_cloud( $id, $_POST['subtype'], explode(',', $_POST['options'] ) ); | |
| 25 | 25 | |
| 26 | 26 | wp_send_json( $response ); |
| 27 | 27 | |
| 28 | 28 | } else if ( isset( $_POST['fl_assistant_import'] ) && is_numeric( $_POST['fl_assistant_import'] ) ) { |