| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Chart Block |
| 4 |
* Description: Represent your data by symbols, such as bars, lines, or pie charts. |
| 5 |
* Version: 1.1.5 |
| 6 |
* Author: bPlugins LLC |
| 7 |
* Author URI: http://bplugins.com |
| 8 |
* License: GPLv3 |
| 9 |
* License URI: https://www.gnu.org/licenses/gpl-3.0.txt |
| 10 |
* Text Domain: chart-block |
| 11 |
*/ |
| 12 |
|
| 13 |
// ABS PATH |
| 14 |
if ( !defined( 'ABSPATH' ) ) { exit; } |
| 15 |
|
| 16 |
// Constant |
| 17 |
define( 'BCHART_VERSION', isset( $_SERVER['HTTP_HOST'] ) && 'localhost' === $_SERVER['HTTP_HOST'] ? time() : '1.1.5' ); |
| 18 |
define( 'BCHART_DIR_URL', plugin_dir_url( __FILE__ ) ); |
| 19 |
define( 'BCHART_DIR_PATH', plugin_dir_path( __FILE__ ) ); |
| 20 |
|
| 21 |
require_once BCHART_DIR_PATH . 'inc/block.php'; |