forked from TablePress/TablePress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tablepress.php
54 lines (45 loc) · 1.77 KB
/
tablepress.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/**
* WordPress plugin "TablePress" main file, responsible for initiating the plugin
*
* @package TablePress
* @author Tobias Bäthge
* @version 1.6
*/
/*
Plugin Name: TablePress
Plugin URI: https://tablepress.org/
Description: Embed beautiful and feature-rich tables into your posts and pages, without having to write code.
Version: 1.6
Author: Tobias Bäthge
Author URI: http://tobias.baethge.com/
Author email: [email protected]
Text Domain: tablepress
Domain Path: /i18n
License: GPL 2
Donate URI: https://tablepress.org/donate/
*/
/* Copyright 2012-2015 Tobias Bäthge
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
// Prohibit direct script loading.
defined( 'ABSPATH' ) || die( 'No direct script access allowed!' );
// Define certain plugin variables as constants.
define( 'TABLEPRESS_ABSPATH', plugin_dir_path( __FILE__ ) );
define( 'TABLEPRESS__FILE__', __FILE__ );
define( 'TABLEPRESS_BASENAME', plugin_basename( TABLEPRESS__FILE__ ) );
/**
* Load TablePress class, which holds common functions and variables.
*/
require_once TABLEPRESS_ABSPATH . 'classes/class-tablepress.php';
// Start up TablePress on WordPress's "init" action hook.
add_action( 'init', array( 'TablePress', 'run' ) );