| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Flexible Table Block |
| 4 |
* Description: Easily create flexible configuration tables. |
| 5 |
* Requires at least: 6.9 |
| 6 |
* Requires PHP: 8.0 |
| 7 |
* Version: 3.8.0 |
| 8 |
* Author: Aki Hamano |
| 9 |
* Author URI: https://github.com/t-hamano |
| 10 |
* License: GPL2 or later |
| 11 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 12 |
* Text Domain: flexible-table-block |
| 13 |
* |
| 14 |
* @package Flexible_Table_Block |
| 15 |
* @author Aki Hamano |
| 16 |
* @license GPL-2.0+ |
| 17 |
*/ |
| 18 |
|
| 19 |
defined( 'ABSPATH' ) || exit; |
| 20 |
|
| 21 |
define( 'FTB_BLOCK_CLASS', 'wp-block-flexible-table-block-table' ); |
| 22 |
define( 'FTB_NAMESPACE', 'flexible-table-block' ); |
| 23 |
define( 'FTB_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) ); |
| 24 |
define( 'FTB_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) ); |
| 25 |
|
| 26 |
require_once __DIR__ . '/classes/class-init.php'; |
| 27 |
|
| 28 |
new Flexible_Table_Block\Init(); |
| 29 |
|