bulk.php
1 month ago
delete.php
1 month ago
index.php
1 month ago
scheduling.php
1 month ago
templates.php
1 month ago
update.php
1 month ago
templates.php
19 lines
| 1 | <?php |
| 2 | // phpcs:ignoreFile WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- variables in template files inherited from controller render() scope |
| 3 | if(!defined('ABSPATH')) { |
| 4 | die(); |
| 5 | } |
| 6 | ?> |
| 7 | <div class="wrap download-import-templates"> |
| 8 | <h2><?php esc_html_e('Download Import Templates', 'wp-all-export') ?></h2> |
| 9 | <p class="description"><?php esc_html_e('Download your import templates and use them to import your exported file to a separate WordPress/WP All Import installation.', 'wp-all-export'); ?></p> |
| 10 | <p class="description"><?php echo wp_kses(__('Install these import templates in your separate WP All Import installation from the <i>All Import › Settings</i> page by clicking the "Import Templates" button.', 'wp-all-export'), array('i' => array())); ?></p> |
| 11 | <p class="submit-buttons"> |
| 12 | <a class="button-primary" href='<?php echo esc_url(add_query_arg(array('id' => $item['id'], 'action' => 'get_template', '_wpnonce' => wp_create_nonce( '_wpnonce-download_template' )), $this->baseUrl));?>'>Download</a> |
| 13 | </p> |
| 14 | <img src="<?php echo esc_url( PMXE_ROOT_URL ); ?>/static/img/import-templates.png" width="400px" style="border: 1px solid #aaa;"> |
| 15 | <div class="wpallexport-display-columns wpallexport-margin-top-forty"> |
| 16 | <?php // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- plugin-owned filter output; callback in filters/wpallexport_footer.php returns trusted static HTML |
| 17 | echo apply_filters('wpallexport_footer', ''); ?> |
| 18 | </div> |
| 19 | </div> |