| 1 |
<?php |
| 2 |
/** |
| 3 |
* Plugin Name: Bricksable |
| 4 |
* Version: 1.5.6 |
| 5 |
* Plugin URI: https://bricksable.com/ |
| 6 |
* Description: A collection of premium quality elements for Bricks Builder. |
| 7 |
* Author: Bricksable |
| 8 |
* Author URI: https://bricksable.com/about/ |
| 9 |
* Requires at least: 5.6 |
| 10 |
* Tested up to: 6.1.1 |
| 11 |
* |
| 12 |
* Text Domain: bricksable |
| 13 |
* Domain Path: /lang/ |
| 14 |
* |
| 15 |
* @package WordPress |
| 16 |
* @author Bricksable |
| 17 |
* @since 1.0.0 |
| 18 |
*/ |
| 19 |
|
| 20 |
if ( ! defined( 'ABSPATH' ) ) { |
| 21 |
exit; |
| 22 |
} |
| 23 |
|
| 24 |
// Load plugin class files. |
| 25 |
require_once 'includes/class-bricksable.php'; |
| 26 |
require_once 'includes/class-bricksable-settings.php'; |
| 27 |
require_once 'includes/class-bricksable-helper.php'; |
| 28 |
|
| 29 |
// Load plugin libraries. |
| 30 |
require_once 'includes/lib/class-bricksable-admin-api.php'; |
| 31 |
require_once 'includes/lib/class-bricksable-post-type.php'; |
| 32 |
require_once 'includes/lib/class-bricksable-taxonomy.php'; |
| 33 |
|
| 34 |
/** |
| 35 |
* Returns the main instance of Bricksable to prevent the need to use globals. |
| 36 |
* |
| 37 |
* @since 1.0.0 |
| 38 |
* @return object Bricksable |
| 39 |
*/ |
| 40 |
function bricksable() { |
| 41 |
$instance = Bricksable::instance( __FILE__, '1.5.6' ); |
| 42 |
|
| 43 |
if ( is_null( $instance->settings ) ) { |
| 44 |
$instance->settings = Bricksable_Settings::instance( $instance ); |
| 45 |
} |
| 46 |
|
| 47 |
return $instance; |
| 48 |
} |
| 49 |
|
| 50 |
bricksable(); |
| 51 |
|