Files
SIGE-WEB-snapshot/wp-content/plugins/notification/resources/templates/sync/actions.php

23 lines
888 B
PHP

<?php
/**
* Synchronization actions template
*
* @package notification
*
* @var callable(string $var_name, string $default=): mixed $get Variable getter.
* @var callable(string $var_name, string $default=): void $the Variable printer.
* @var callable(string $var_name, string $default=): void $the_esc Escaped variable printer.
* @var BracketSpace\Notification\Dependencies\Micropackage\Templates\Template $this Template instance.
*/
?>
<div class="button-group">
<a href="#" class="button button-secondary button-icon notification-sync-all" data-type="json">
<span class="dashicons dashicons-download"></span> <?php esc_html_e( 'Save all to JSON' ); ?>
</a>
<a href="#" class="button button-secondary button-icon notification-sync-all" data-type="wordpress">
<span class="dashicons dashicons-upload"></span> <?php esc_html_e( 'Load all to WordPress' ); ?>
</a>
</div>