PluginProbe
Posts Table with Search & Sort / 1.4.13
Posts Table with Search & Sort v1.4.13
1.4.13 trunk 1.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.2 1.3 1.3.1 1.3.1-v2 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 All 40 releases
posts-data-table / src / Admin / Wizard / Steps / Welcome.php

Welcome.php in Posts Table with Search & Sort 1.4.13, at src/Admin/Wizard/Steps/Welcome.php

49 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 namespace Barn2\Plugin\Posts_Table_Search_Sort\Admin\Wizard\Steps;
4
5 use Barn2\Plugin\Posts_Table_Search_Sort\Dependencies\Setup_Wizard\Steps\Welcome_Free;
6
7 /**
8 * Layout Settings Step.
9 *
10 * @package Barn2\posts-data-table
11 * @author Barn2 Plugins <info@barn2.com>
12 * @license GPL-3.0
13 * @copyright Barn2 Media Ltd
14 */
15 class Welcome extends Welcome_Free {
16
17 /**
18 * {@inheritdoc}
19 */
20 public function init() {
21 $this->set_id( 'welcome_free' );
22 $this->set_title( 'Welcome to Posts Table with Search & Sort' );
23 $this->set_name( esc_html__( 'Welcome', 'posts-data-table' ) );
24 $this->set_tooltip( false );
25 $this->set_description( esc_html__( 'Start creating post tables in no time.', 'posts-data-table' ) );
26 }
27
28 /**
29 * {@inheritdoc}
30 */
31 public function setup_fields() {
32 $fields = [
33 'welcome_messages' => [
34 'type' => 'heading',
35 'label' => esc_html__( 'Use this setup wizard to quickly configure your post tables. You can change these options later on the settings page, or override them in the shortcode for individual tables.', 'posts-data-table' ),
36 'size' => 'p',
37 'raw' => true,
38 'style' => [
39 'textAlign' => 'center',
40 'color' => '#757575',
41 ],
42 ],
43 ];
44
45 return $fields;
46 }
47
48 }
49