PluginProbe
Polylang / 3.8.6
Polylang v3.8.6
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
polylang / src / modules / wizard / html-wizard-notice.php

html-wizard-notice.php in Polylang 3.8.6, at src/modules/wizard/html-wizard-notice.php

50 lines 950 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Displays the wizard notice content
4 *
5 * @package Polylang
6 *
7 * @since 2.7
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit; // Don't access directly.
12 }
13
14 $wizard_url = add_query_arg(
15 array(
16 'page' => 'mlang_wizard',
17 ),
18 admin_url( 'admin.php' )
19 );
20 ?>
21 <p>
22 <strong>
23 <?php
24 printf(
25 /* translators: %s is the plugin name */
26 esc_html__( 'Welcome to %s', 'polylang' ),
27 esc_html( POLYLANG )
28 );
29 ?>
30 </strong>
31 <?php
32 echo ' &#8211; ';
33 esc_html_e( 'You&lsquo;re almost ready to translate your contents!', 'polylang' );
34 ?>
35 </p>
36 <p class="buttons">
37 <a
38 href="<?php echo esc_url( $wizard_url ); ?>"
39 class="button button-primary"
40 >
41 <?php esc_html_e( 'Run the Setup Wizard', 'polylang' ); ?>
42 </a>
43 <a
44 class="button button-secondary skip"
45 href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'pll-hide-notice', 'wizard' ), 'wizard', '_pll_notice_nonce' ) ); ?>"
46 >
47 <?php esc_html_e( 'Skip setup', 'polylang' ); ?>
48 </a>
49 </p>
50