oont-contents/plugins/jetpack-boost/jetpack_vendor/automattic/jetpack-plugin-deactivation/src/dialog-template.php
2025-02-10 13:57:45 +01:00

35 lines
1.4 KiB
PHP

<?php
/**
* Reference template file for deactivation handler dialog.
*
* This file is not used directly. Copy this file to your plugin and modify it to suit your needs.
*
* @package automattic/jetpack-plugin-deactivation
*/
if ( ! defined( 'ABSPATH' ) ) {
exit( 0 ); // Exit if accessed directly
}
?>
<main class="jp-plugin-deactivation__dialog__content">
<h1><?php esc_html_e( 'Are you sure you want to deactivate?', 'jetpack-plugin-deactivation' ); ?></h1>
<p class="big"><?php esc_html_e( 'Before you go...', 'jetpack-plugin-deactivation' ); ?></p>
<p><?php esc_html_e( "We'd really love your feedback on our plugin.", 'jetpack-plugin-deactivation' ); ?></p>
<p><?php esc_html_e( "Just temporarily deactivating, or don't fancy giving feedback? No problem.", 'jetpack-plugin-deactivation' ); ?></p>
</main>
<footer class="jp-plugin-deactivation__dialog__actions">
<button
type="button"
class="jp-plugin-deactivation__button"
data-jp-plugin-deactivation-action="close"
><?php esc_html_e( 'Cancel', 'jetpack-plugin-deactivation' ); ?></button>
<button
type="button"
data-jp-plugin-deactivation-action="deactivate"
class="jp-plugin-deactivation__button jp-plugin-deactivation__button--outline jp-plugin-deactivation__button--destructive"
><?php esc_html_e( 'Deactivate', 'jetpack-plugin-deactivation' ); ?></button>
</footer>
<style>
/* Add your custom style for the dialog if any */
</style>