PluginProbe ʕ •ᴥ•ʔ
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel / 1.3.6
WP All Export – Drag & Drop Export to Any Custom CSV, XML & Excel v1.3.6
trunk 0.9.0 0.9.1 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2.0 1.2.1 1.2.10 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.14 1.4.15 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0
wp-all-export / views / admin / export / success_page.php
wp-all-export / views / admin / export Last commit date
blocks 4 years ago options 4 years ago template 4 years ago google.php 4 years ago index.php 4 years ago options.php 4 years ago process.php 4 years ago success_page.php 4 years ago template.php 4 years ago variation_options.php 4 years ago variation_options_common.php 4 years ago
success_page.php
134 lines
1 <?php
2 if(!defined('ABSPATH')) {
3 die();
4 }
5 $cron_job_key = PMXE_Plugin::getInstance()->getOption('cron_job_key');
6 $urlToExport = site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $update_previous->id), 0, 16) . '&export_id=' . $update_previous->id . '&action=get_data';
7 $uploads = wp_upload_dir();
8
9 $bundle_path = wp_all_export_get_absolute_path($update_previous->options['bundlepath']);
10
11 if (!empty($bundle_path)) {
12 $bundle_url = site_url() . '/wp-load.php?security_token=' . substr(md5($cron_job_key . $update_previous->id), 0, 16) . '&export_id=' . $update_previous->id . '&action=get_bundle&t=zip';
13 }
14
15 $isImportAllowedSpecification = new \Wpae\App\Specification\IsImportAllowed();
16 $isGoogleFeed = false;
17 ?>
18 <div id="export_finished" style="padding-top: 10px;">
19 <?php
20 if ($isGoogleFeed) {
21 ?>
22 <h3><?php esc_html_e('WP All Export successfully exported your data!', 'wp_all_export_plugin'); ?></h3>
23 <?php
24 $cronJobKey = PMXE_Plugin::getInstance()->getOption('cron_job_key');
25 include_once('google_merchants_success.php');
26 } else {
27 ?>
28 <h2 style="color:#425f9a; font-size:24px; margin-bottom: 36px;">What's next?</h2>
29
30 <script type="text/javascript">
31 jQuery(document).ready(function () {
32 jQuery('.success-tabs .tab').click(function () {
33 jQuery('.success-tabs .tab').removeClass('selected');
34 jQuery(this).addClass('selected');
35 var rel = jQuery(this).attr('rel');
36 jQuery('.tab-content').removeClass('selected');
37 jQuery('.tab-content-container').find('#' + rel).addClass('selected');
38 });
39 });
40 </script>
41 <ul class="success-tabs">
42 <li rel="tab1-content" class="tab selected"><?php esc_html_e("Download", 'wp_all_export_plugin'); ?></li>
43 <li rel="tab2-content" class="tab"><?php esc_html_e("Scheduling", 'wp_all_export_plugin'); ?></li>
44 <li rel="tab3-content" class="tab"><?php esc_html_e("External Apps", 'wp_all_export_plugin'); ?></li>
45 <?php if ($isImportAllowedSpecification->isSatisfied($update_previous)): ?>
46 <li rel="tab4-content" class="tab"><?php esc_html_e("Export, Edit, Import", 'wp_all_export_plugin'); ?></li>
47 <?php endif; ?>
48 </ul>
49 <hr style="margin-top:0;"/>
50 <div class="tab-content-container">
51 <div class="tab-content selected normal-tab" id="tab1-content">
52 <h3 style="margin-top: 30px; margin-bottom: 30px;"><?php esc_html_e("Click to Download", 'wp_all_export_plugin'); ?></h3>
53 <div class="wpallexport-free-edition-notice" id="migrate-orders-notice" style="padding: 20px; margin-bottom: 35px; display: none;">
54 <a class="upgrade_link" target="_blank" href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=migrate-orders"><?php esc_html_e('Upgrade to the Pro edition of WP All Export to Migrate Orders', PMXE_Plugin::LANGUAGE_DOMAIN);?></a>
55 <p><?php esc_html_e('If you already own it, remove the free edition and install the Pro edition.', PMXE_Plugin::LANGUAGE_DOMAIN);?></p>
56 </div>
57
58 <div class="input">
59 <button class="button button-primary button-hero wpallexport-large-button download_data"
60 rel="<?php echo esc_url_raw(add_query_arg(array('action' => 'download', 'id' => $update_previous->id, '_wpnonce' => wp_create_nonce('_wpnonce-download_feed')), $this->baseUrl)); ?>"><?php echo strtoupper(wp_all_export_get_export_format($update_previous->options)); ?></button>
61 <?php if (!empty($update_previous->options['split_large_exports'])): ?>
62 <button class="button button-primary button-hero wpallexport-large-button download_data"
63 rel="<?php echo esc_url_raw(add_query_arg(array('page' => 'pmxe-admin-manage', 'id' => $update_previous->id, 'action' => 'split_bundle', '_wpnonce' => wp_create_nonce('_wpnonce-download_split_bundle')), $this->baseUrl)); ?>"><?php printf(esc_html__('Split %ss', 'wp_all_export_plugin'), esc_html(strtoupper(wp_all_export_get_export_format($update_previous->options)))); ?></button>
64 <?php endif; ?>
65 <?php if (PMXE_Export_Record::is_bundle_supported($update_previous->options)): ?>
66 <button class="button button-primary button-hero wpallexport-large-button download_data"
67 id="download-bundle" rel="<?php echo esc_url_raw(add_query_arg(array('page' => 'pmxe-admin-manage', 'id' => $update_previous->id, 'action' => 'bundle', '_wpnonce' => wp_create_nonce('_wpnonce-download_bundle')), $this->baseUrl)); ?>"><?php esc_html_e('Bundle', 'wp_all_export_plugin'); ?></button>
68 <?php endif; ?>
69 </div>
70
71 <?php if (PMXE_Export_Record::is_bundle_supported($update_previous->options)): ?>
72 <div id="download-details">
73 <p style="margin-top:30px;">
74 <?php esc_html_e("The bundle contains your exported data and a settings file for WP All Import.", 'wp_all_export_plugin'); ?><br/>
75 <?php esc_html_e("Upload the Bundle to WP All Import on another site to quickly import this data.", 'wp_all_export_plugin');?>
76 </p>
77 </div>
78 <?php endif; ?>
79 <div style="margin-top:30px;">
80 <h3 style="margin-bottom: 0; margin-top: -10px;"><?php echo _e("Public URL", 'wp_all_export_plugin'); ?></h3>
81 <a href="<?php echo $urlToExport; ?>" <?php if (php_sapi_name() != 'cli-server') { ?> target="_blank" <?php } ?>
82 class="feed-url" style="margin-bottom: 0; font-size: 16px;"><?php echo $urlToExport; ?></a>
83 <p style="margin-top: 0;">
84 <?php esc_html_e("This URL will always provide the export file from this export, even if the file name changes.", 'wp_all_export_plugin'); ?>
85 </p>
86 </div>
87 </div>
88 <div class="tab-content scheduling" id="tab2-content">
89 <div class="wrap" style="text-align: left; padding-top: 10px;">
90
91 <?php
92 $export = $update_previous;
93 require __DIR__.'/../../../src/Scheduling/views/SchedulingUI.php'; ?>
94
95 </div>
96 </div>
97 <div class="tab-content normal-tab" id="tab3-content">
98 <p>
99 <?php esc_html_e("Automatically send your data to over 500 apps with Zapier.", 'wp_all_export_plugin'); ?>
100 <br/>
101 <a href="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=2707173&edd_options%5Bprice_id%5D=1&utm_source=export-plugin-free&utm_medium=upgrade-notice&utm_campaign=zapier" target="_blank">
102 <?php esc_html_e("Upgrade to the Pro edition of WP All Export for Zapier integration", 'wp_all_export_plugin'); ?>
103 </a>
104 <br/>
105 <a href="https://zapier.com/zapbook/wp-all-export-pro/" target="_blank"><?php esc_html_e("Click here to read more about WP All Export's Zapier Integration.", 'wp_all_export_plugin'); ?></a>
106 </p>
107 <iframe width="560" height="315" src="https://www.youtube.com/embed/6tBacBmiHsQ" frameborder="0" allowfullscreen></iframe>
108 </div>
109 <?php if ($isImportAllowedSpecification->isSatisfied($update_previous)): ?>
110
111 <div class="tab-content normal-tab" id="tab4-content">
112 <p>
113 <?php esc_html_e("After you've downloaded your data, edit it however you like.", 'wp_all_export_plugin'); ?><br/>
114 <?php esc_html_e("Then, click below to import the data with WP All Import without having to set anything up.", 'wp_all_export_plugin'); ?>
115 </p>
116 <p>
117 <button class="button button-primary button-hero wpallexport-large-button download_data"
118 rel="<?php echo esc_url(add_query_arg(array('action' => 'download', 'id' => $update_previous->id, '_wpnonce' => wp_create_nonce('_wpnonce-download_feed')), $this->baseUrl)); ?>"><?php esc_html_e('Download', 'wp_all_export_plugin'); ?> <?php echo esc_html(strtoupper(wp_all_export_get_export_format($update_previous->options))); ?></button>
119
120 <button class="button button-primary button-hero wpallexport-large-button download_data"
121 rel="<?php echo esc_url(add_query_arg(array('page' => 'pmxi-admin-import', 'id' => $update_previous->options['import_id'], 'deligate' => 'wpallexport'), remove_query_arg('page', $this->baseUrl))); ?>"><?php esc_html_e('Import with WP All Import', 'wp_all_export_plugin'); ?></button>
122 </p>
123 <p>
124 <?php esc_html_e("You can also start the import by clicking 'Import with WP All Import' on the Manage Exports page.", 'wp_all_export_plugin');?>
125 </p>
126 </div>
127 <?php endif; ?>
128 </div>
129 <hr>
130 <?php
131 }
132 ?>
133 <input type="hidden" value="<?php echo esc_attr($export['options']['cpt'][0]); ?>" id="export-cpt">
134 </div>