| Server IP : 69.39.225.240 / Your IP : 216.73.216.138 Web Server : Apache System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64 User : reademotions ( 1074) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/reademotions/www/wp-content/plugins/bb-ultimate-addon/modules/spacer-gap/ |
Upload File : |
<?php
/**
* UABB Spacer Gap Module file
*
* @package UABB Spacer Gap Module
*/
/**
* Function that initializes UABB Spacer Gap Module
*
* @class UABBSpacerGap
*/
class UABBSpacerGap extends FLBuilderModule {
/**
* Constructor function that constructs default values for the Spacer Gap Module
*
* @method __construct
*/
public function __construct() {
parent::__construct(
array(
'name' => __( 'Spacer / Gap', 'uabb' ),
'description' => __( 'A totally awesome module!', 'uabb' ),
'category' => BB_Ultimate_Addon_Helper::module_cat( BB_Ultimate_Addon_Helper::$extra_additions ),
'group' => UABB_CAT,
'dir' => BB_ULTIMATE_ADDON_DIR . 'modules/spacer-gap/',
'url' => BB_ULTIMATE_ADDON_URL . 'modules/spacer-gap/',
'editor_export' => true, // Defaults to true and can be omitted.
'enabled' => true, // Defaults to true and can be omitted.
'partial_refresh' => true, // Defaults to false and can be omitted.
'icon' => 'minus.svg',
)
);
}
}
/*
* Condition to verify Beaver Builder version.
* And accordingly render the required form settings file.
*/
if ( UABB_Compatibility::$version_bb_check ) {
require_once BB_ULTIMATE_ADDON_DIR . 'modules/spacer-gap/spacer-gap-bb-2-2-compatibility.php';
} else {
require_once BB_ULTIMATE_ADDON_DIR . 'modules/spacer-gap/spacer-gap-bb-less-than-2-2-compatibility.php';
}