File: //home/globfdxw/www/wp-content/plugins/give/includes/admin/tools/views/html-admin-page-imports.php
<?php
/**
* Admin View: Imports
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
} ?>
<div id="poststuff" class="give-clearfix">
<div id="give-dashboard-widgets-wrap">
<div id="post-body">
<div id="post-body-content">
<?php
/**
* Fires before the reports Import tab.
*
* @since 1.8.14
*/
do_action( 'give_tools_tab_import_content_top' );
?>
<table class="widefat Import-options-table give-table">
<thead>
<tr>
<th scope="col"><?php esc_html_e( 'Import Type', 'give' ); ?></th>
<th scope="col"><?php esc_html_e( 'Import Options', 'give' ); ?></th>
</tr>
</thead>
<tbody>
<?php
/**
* Fires in the reports Import tab.
*
* Allows you to add new TR elements to the table before
* other elements.
*
* @since 1.8.14
*/
do_action( 'give_tools_tab_import_table_top' );
?>
<tr class="give-Import-pdf-sales-earnings">
<td scope="row" class="row-title">
<h3>
<span><?php esc_html_e( 'Import Donations', 'give' ); ?></span>
</h3>
<p><?php esc_html_e( 'Import a CSV of Donations.', 'give' ); ?></p>
</td>
<td>
<a class="button" href="<?php echo esc_url( add_query_arg( array( 'importer-type' => 'import_donations' ) ) ); ?>">
<?php esc_html_e( 'Import CSV', 'give' ); ?>
</a>
</td>
</tr>
<?php if (defined('GIVE_RECURRING_VERSION')): ?>
<tr>
<td scope="row" class="row-title">
<h3>
<span><?php esc_html_e( 'Import Subscriptions', 'give' ); ?></span>
</h3>
<p class="description"><?php esc_html_e('Import a CSV of subscriptions (recurring donations).', 'give' ); ?></p>
</td>
<td>
<a class="button" href="<?php echo esc_url( add_query_arg( array( 'importer-type' => 'import_subscriptions' ) ) ); ?>">
<?php esc_html_e( 'Import Subscriptions', 'give' ); ?>
</a>
</td>
</tr>
<?php endif; ?>
<tr class="give-import-core-settings">
<td scope="row" class="row-title">
<h3>
<span><?php esc_html_e( 'Import GiveWP Settings', 'give' ); ?></span>
</h3>
<p><?php esc_html_e( 'Import Give\'s settings in JSON format.', 'give' ); ?></p>
</td>
<td>
<a class="button" href="<?php echo esc_url( add_query_arg( array( 'importer-type' => 'import_core_setting' ) ) ); ?>">
<?php esc_html_e( 'Import JSON', 'give' ); ?>
</a>
</td>
</tr>
<?php
/**
* Fires in the reports Import tab.
*
* Allows you to add new TR elements to the table after
* other elements.
*
* @since 1.8.14
*/
do_action( 'give_tools_tab_import_table_bottom' );
?>
</tbody>
</table>
<?php
/**
* Fires after the reports Import tab.
*
* @since 1.8.14
*/
do_action( 'give_tools_tab_import_content_bottom' );
?>
</div>
<!-- .post-body-content -->
</div>
<!-- .post-body -->
</div><!-- #give-dashboard-widgets-wrap -->
</div><!-- #poststuff -->