PluginProbe
Additional Terms Lite for WooCommerce / 1.7.2.1
Additional Terms Lite for WooCommerce v1.7.2.1
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 / onboarding.php

onboarding.php in Additional Terms Lite for WooCommerce 1.7.2.1, at templates/notices/onboarding.php

43 lines 1.2 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 onboarding (welcome) admin notice.
4 *
5 * @since 1.0.0
6 *
7 * @package woo-additional-terms
8 */
9
10 defined( 'ABSPATH' ) || exit;
11 defined( 'WC_VERSION' ) || exit;
12
13 ?>
14
15 <div id="woo-additional-terms-dismiss-onboarding" class="notice notice-info is-dismissible" data-action="onboarding">
16 <p>
17 <i class="dashicons dashicons-admin-settings"></i>
18 <?php
19 printf(
20 /* translators: 1: Plugin name, 2: Open anchor tag, 3: Close anchor tag, 4: Open anchor tag, 5: Close anchor tag. */
21 esc_html_x( 'Thanks for installing %1$s plugin! To get started, visit the %2$sdocumentation%3$s or %4$splugin’s settings page%5$s.', 'admin notice', 'woo-additional-terms' ),
22 sprintf(
23 '<strong>%s</strong>',
24 esc_html_x( 'Additional Terms for WooCommerce', 'plugin name', 'woo-additional-terms' )
25 ),
26 sprintf(
27 '<a href="%s" target="_blank" rel="noopener noreferrer nofollow">',
28 esc_url( $args['help_uri'] )
29 ),
30 '</a>',
31 sprintf(
32 '<a href="%s" class="notice-dismiss-later" target="_self">',
33 esc_url( $args['settings_uri'] )
34 ),
35 '</a>'
36 );
37 ?>
38 </p>
39 </div>
40
41 <?php
42 /* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */
43