PluginProbe
Additional Terms Lite for WooCommerce / 1.6.2
Additional Terms Lite for WooCommerce v1.6.2
1.7.3 1.7.2.1 trunk 1.0.1 1.0.2 1.1.0 1.2.0 1.2.1 1.2.2 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.4.0 1.4.1 1.5.0 1.5.1 1.5.2 1.6.0 1.6.1 1.6.2 1.6.3 All 35 releases
woo-additional-terms / templates / notices / rate.php

rate.php in Additional Terms Lite for WooCommerce 1.6.2, at templates/notices/rate.php

47 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The Template for displaying rate (review on wp.org) admin notice.
4 *
5 * @since 1.4.0
6 *
7 * @package woo-additional-terms
8 */
9
10 defined( 'ABSPATH' ) || exit;
11 defined( 'WC_VERSION' ) || exit;
12
13 ?>
14 <div id="woo-additional-terms-dismiss-rate" class="notice notice-alt is-dismissible" data-action="rate">
15 <p>
16 <i class="dashicons dashicons-star-filled"></i>
17 <strong>
18 <?php
19 printf(
20 /* translators: 1: Activation duration, 2: Plugin name */
21 esc_html_x( '%1$s have passed since you started using %2$s.', 'admin notice', 'woo-additional-terms' ),
22 esc_html( $args['usage_timestamp'] ),
23 esc_html_x( 'Woo Additional Terms', 'plugin name', 'woo-additional-terms' )
24 );
25 ?>
26 </strong>
27 </p>
28 <p>
29 <?php echo esc_html_x( ' Would you kindly consider leaving a review and letting us know how the plugin has helped your business? Your feedback is greatly appreciated!', 'admin notice', 'woo-additional-terms' ); ?>
30 </p>
31 <p>
32 <a href="https://wordpress.org/support/plugin/woo-additional-terms/reviews?filter=5#new-post" class="button-primary notice-dismiss-later" target="_blank" rel="noopener noreferrer nofollow">
33 &#9733;
34 <?php echo esc_html_x( 'Give 5 Stars', 'admin notice', 'woo-additional-terms' ); ?> &#8594;
35 </a>
36 <button class="button-link notice-dismiss-later">
37 <?php echo esc_html_x( 'Maybe later', 'admin notice', 'woo-additional-terms' ); ?>
38 </button>
39 <button class="button-link already-rated">
40 <?php echo esc_html_x( 'I already did!', 'admin notice', 'woo-additional-terms' ); ?>
41 </button>
42 </p>
43 </div>
44
45 <?php
46 /* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */
47