PluginProbe
WP Table Builder – Drag & Drop Table Builder / trunk
WP Table Builder – Drag & Drop Table Builder vtrunk
2.2.2 2.2.1 2.2.0 2.1.18 2.1.17 2.1.16 2.1.15 2.1.14 2.1.13 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 All 115 releases
wp-table-builder / wp-table-builder.php

wp-table-builder.php in WP Table Builder – Drag & Drop Table Builder trunk, at wp-table-builder.php

81 lines 2.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The plugin bootstrap file
5 *
6 * This file is read by WordPress to generate the plugin information in the plugin
7 * admin area. This file also includes all the dependencies used by the plugin,
8 * registers the activation and deactivation functions, and defines a function
9 * that starts the plugin.
10 *
11 * @link http://wptablebuilder.com/
12 * @since 1.0.0
13 * @package WP_Table_Builder
14 *
15 * @wordpress-plugin
16 * Plugin Name: WP Table Builder
17 * Plugin URI: https://wptablebuilder.com/
18 * Description: Drag and Drop Responsive Table Builder Plugin for WordPress.
19 * Version: 2.2.2
20 * Author: WP Table Builder
21 * Author URI: https://wptablebuilder.com//
22 * License: GPL-3.0+
23 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
24 * Text Domain: wp-table-builder
25 * Domain Path: /languages
26 */
27
28 define('WPTB_PLUGIN_DIR', __DIR__);
29 define('WPTB_PLUGIN_URL', rtrim(plugin_dir_url(__FILE__), '/'));
30 define('WPTB_PLUGIN_FILE', __FILE__);
31 define('WPTB_VERSION', '2.2.2');
32
33 require_once __DIR__ . '/vendor/autoload.php';
34
35 if (!function_exists('wptb_fs')) {
36 function wptb_fs()
37 {
38 global $wptb_fs;
39
40 if (!isset($wptb_fs)) {
41 $wptb_fs = fs_dynamic_init([
42 'id' => '6602',
43 'slug' => 'wp-table-builder',
44 'type' => 'plugin',
45 'public_key' => 'pk_6bf7fb67d8b8bcce83459fd46432e',
46 'is_premium' => false,
47 'has_addons' => true,
48 'has_paid_plans' => false,
49 'is_org_compliant' => false,
50 'menu' => [
51 'slug' => 'wptb',
52 'first-path' => 'admin.php?page=wptb-welcome',
53 'account' => true,
54 'contact' => false,
55 'support' => false,
56 ],
57 ]);
58 }
59
60 return $wptb_fs;
61 }
62 }
63
64
65 \WPTableBuilder\Admin\Api\ApiHandler::init();
66
67 \WPTableBuilder\Core\Activation::init();
68
69 add_action('init', [
70 \WPTableBuilder\WPTableBuilder::class,
71 'init'
72 ]);
73
74 add_action('admin_menu', [
75 \WPTableBuilder\WPTableBuilder::class,
76 'admin_init'
77 ]);
78
79
80 add_action('admin_bar_menu', [\WPTableBuilder\WPTableBuilder::class, 'add_admin_bar_menu'], 100);
81