PluginProbe
Bricksable for Bricks Builder / 1.6.78
Bricksable for Bricks Builder v1.6.78
1.2.9 1.3.0 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.7 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.4.3 1.4.31 1.4.32 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 All 132 releases
bricksable / bricksable.php

bricksable.php in Bricksable for Bricks Builder 1.6.78, at bricksable.php

58 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Bricksable
4 * Version: 1.6.78
5 * Plugin URI: https://bricksable.com/
6 * Description: Elevate your website game with the Bricksable collection of premium elements for Bricks Builder. Designed to speed up your workflow, our customizable and fully responsive elements will take your website to the next level in no time.
7 * Author: Bricksable
8 * Author URI: https://bricksable.com/about-us/
9 * Requires at least: 5.6
10 * Tested up to: 6.8
11 * License: GPL v2 or later
12 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
13 * Text Domain: bricksable
14 * Domain Path: /lang/
15 *
16 * @package WordPress
17 * @author Bricksable
18 * @since 1.0.0
19 */
20
21 if ( ! defined( 'ABSPATH' ) ) {
22 exit;
23 }
24 if ( file_exists( WP_PLUGIN_DIR . '/bricksable-pro/bricksable-pro.php' ) ) {
25 // Check if the bricksable pro plugin is active.
26 if ( is_plugin_active( 'bricksable-pro/bricksable-pro.php' ) ) {
27 return;
28 }
29 }
30 // Load plugin class files.
31 require_once 'includes/class-bricksable.php';
32 require_once 'includes/class-bricksable-settings.php';
33 require_once 'includes/class-bricksable-review.php';
34 require_once 'includes/class-bricksable-helper.php';
35
36 // Load plugin libraries.
37 require_once 'includes/lib/class-bricksable-admin-api.php';
38 require_once 'includes/lib/class-bricksable-post-type.php';
39 require_once 'includes/lib/class-bricksable-taxonomy.php';
40
41 /**
42 * Returns the main instance of Bricksable to prevent the need to use globals.
43 *
44 * @since 1.0.0
45 * @return object Bricksable
46 */
47 function bricksable() {
48 $instance = Bricksable::instance( __FILE__, '1.6.78' );
49
50 if ( is_null( $instance->settings ) ) {
51 $instance->settings = Bricksable_Settings::instance( $instance );
52 }
53
54 return $instance;
55 }
56
57 bricksable();
58