| 1 |
<?php |
| 2 |
|
| 3 |
/** |
| 4 |
* Plugin Name: Frontis Blocks — Block Library for the Block Editor |
| 5 |
* Plugin URI: https://wpmessiah.com/products/frontis-blocks/ |
| 6 |
* Description: A blocks library for the Gutenberg editor. |
| 7 |
* Version: 1.2.4 |
| 8 |
* Author: WPmessiah |
| 9 |
* Author URI: https://wpmessiah.com/ |
| 10 |
* License: GPL-2.0+ |
| 11 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt |
| 12 |
* Text Domain: frontis-blocks |
| 13 |
* Domain Path: /languages |
| 14 |
*/ |
| 15 |
|
| 16 |
if (!defined('ABSPATH')) { |
| 17 |
exit; |
| 18 |
} |
| 19 |
|
| 20 |
// Define things |
| 21 |
define('FB_PLUGIN_FILE', __FILE__); |
| 22 |
define('PORTAL_API', 'https://template-library.frontiswp.com'); |
| 23 |
define('WORDPRESS_SYNC_API', 'https://sync.frontiswp.com'); |
| 24 |
|
| 25 |
/** |
| 26 |
* Autoloader |
| 27 |
*/ |
| 28 |
require_once __DIR__ . '/vendor/autoload.php'; |
| 29 |
|
| 30 |
/** |
| 31 |
* Initialize plugin |
| 32 |
*/ |
| 33 |
function frontis_blocks() |
| 34 |
{ |
| 35 |
FrontisBlocks\Activator\Activator::get_instance(); |
| 36 |
FrontisBlocks\Plugin::get_instance(); |
| 37 |
} |
| 38 |
|
| 39 |
frontis_blocks(); |
| 40 |
|