PluginProbe
Elementor Website Builder – more than just a page builder / 3.1.0-beta1
Elementor Website Builder – more than just a page builder v3.1.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
elementor / core / kits / views / trash-kit-confirmation.php

trash-kit-confirmation.php in Elementor Website Builder – more than just a page builder 3.1.0-beta1, at core/kits/views/trash-kit-confirmation.php

36 lines 902 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly.
4 }
5
6 /**
7 * @var int $post_id
8 * @var boolean $is_permanently_delete
9 */
10
11 $config_url = add_query_arg(
12 [ 'force_delete_kit' => '1' ],
13 get_delete_post_link( $post_id, '', $is_permanently_delete )
14 );
15 ?>
16
17 <?php
18 if ( $is_permanently_delete ) {
19 echo __( 'If you delete this template, all associated global settings, typography and colors will be deleted', 'elementor' );
20 } else {
21 echo __( 'If you move this template to trash, all associated global settings, typography and colors will be deleted', 'elementor' );
22 }
23 ?>
24
25 <br><br>
26 <a class="button" href="<?php echo $config_url; ?>">
27 <?php
28 if ( $is_permanently_delete ) {
29 echo __( 'Confirm delete', 'elementor' );
30 } else {
31 echo __( 'Confirm trash', 'elementor' );
32 }
33 ?>
34 </a>
35 <a class="button" href="javascript:history.back()"> <?php echo __( 'Cancel', 'elementor' ); ?> </a>
36