namespace Elementor;
use Elementor\Core\Admin\Menu\Admin_Menu_Manager;
use Elementor\Core\Wp_Api;
use Elementor\Core\Admin\Admin;
use Elementor\Core\Breakpoints\Manager as Breakpoints_Manager;
use Elementor\Core\Common\App as CommonApp;
use Elementor\Core\Debug\Inspector;
use Elementor\Core\Documents_Manager;
use Elementor\Core\Experiments\Manager as Experiments_Manager;
use Elementor\Core\Kits\Manager as Kits_Manager;
use Elementor\Core\Editor\Editor;
use Elementor\Core\Files\Manager as Files_Manager;
use Elementor\Core\Files\Assets\Manager as Assets_Manager;
use Elementor\Core\Modules_Manager;
use Elementor\Core\Schemes\Manager as Schemes_Manager;
use Elementor\Core\Settings\Manager as Settings_Manager;
use Elementor\Core\Settings\Page\Manager as Page_Settings_Manager;
use Elementor\Core\Upgrade\Elementor_3_Re_Migrate_Globals;
use Elementor\Modules\History\Revisions_Manager;
use Elementor\Core\DynamicTags\Manager as Dynamic_Tags_Manager;
use Elementor\Core\Logger\Manager as Log_Manager;
use Elementor\Core\Page_Assets\Loader as Assets_Loader;
use Elementor\Modules\System_Info\Module as System_Info_Module;
use Elementor\Data\Manager as Data_Manager;
use Elementor\Data\V2\Manager as Data_Manager_V2;
use Elementor\Core\Common\Modules\DevTools\Module as Dev_Tools;
use Elementor\Core\Files\Uploads_Manager as Uploads_Manager;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* Elementor plugin.
*
* The main plugin handler class is responsible for initializing Elementor. The
* class registers and all the components required to run the plugin.
*
* @since 1.0.0
*/
class Plugin {
const ELEMENTOR_DEFAULT_POST_TYPES = [ 'page', 'post' ];
/**
* Instance.
*
* Holds the plugin instance.
*
* @since 1.0.0
* @access public
* @static
*
* @var Plugin
*/
public static $instance = null;
/**
* Database.
*
* Holds the plugin database handler which is responsible for communicating
* with the database.
*
* @since 1.0.0
* @access public
*
* @var DB
*/
public $db;
/**
* Controls manager.
*
* Holds the plugin controls manager handler is responsible for registering
* and initializing controls.
*
* @since 1.0.0
* @access public
*
* @var Controls_Manager
*/
public $controls_manager;
/**
* Documents manager.
*
* Holds the documents manager.
*
* @since 2.0.0
* @access public
*
* @var Documents_Manager
*/
public $documents;
/**
* Schemes manager.
*
* Holds the plugin schemes manager.
*
* @since 1.0.0
* @access public
*
* @var Schemes_Manager
*/
public $schemes_manager;
/**
* Elements manager.
*
* Holds the plugin elements manager.
*
* @since 1.0.0
* @access public
*
* @var Elements_Manager
*/
public $elements_manager;
/**
* Widgets manager.
*
* Holds the plugin widgets manager which is responsible for registering and
* initializing widgets.
*
* @since 1.0.0
* @access public
*
* @var Widgets_Manager
*/
public $widgets_manager;
/**
* Revisions manager.
*
* Holds the plugin revisions manager which handles history and revisions
* functionality.
*
* @since 1.0.0
* @access public
*
* @var Revisions_Manager
*/
public $revisions_manager;
/**
* Images manager.
*
* Holds the plugin images manager which is responsible for retrieving image
* details.
*
* @since 2.9.0
* @access public
*
* @var Images_Manager
*/
public $images_manager;
/**
* Maintenance mode.
*
* Holds the maintenance mode manager responsible for the "Maintenance Mode"
* and the "Coming Soon" features.
*
* @since 1.0.0
* @access public
*
* @var Maintenance_Mode
*/
public $maintenance_mode;
/**
* Page settings manager.
*
* Holds the page settings manager.
*
* @since 1.0.0
* @access public
*
* @var Page_Settings_Manager
*/
public $page_settings_manager;
/**
* Dynamic tags manager.
*
* Holds the dynamic tags manager.
*
* @since 1.0.0
* @access public
*
* @var Dynamic_Tags_Manager
*/
public $dynamic_tags;
/**
* Settings.
*
* Holds the plugin settings.
*
* @since 1.0.0
* @access public
*
* @var Settings
*/
public $settings;
/**
* Role Manager.
*
* Holds the plugin role manager.
*
* @since 2.0.0
* @access public
*
* @var Core\RoleManager\Role_Manager
*/
public $role_manager;
/**
* Admin.
*
* Holds the plugin admin.
*
* @since 1.0.0
* @access public
*
* @var Admin
*/
public $admin;
/**
* Tools.
*
* Holds the plugin tools.
*
* @since 1.0.0
* @access public
*
* @var Tools
*/
public $tools;
/**
* Preview.
*
* Holds the plugin preview.
*
* @since 1.0.0
* @access public
*
* @var Preview
*/
public $preview;
/**
* Editor.
*
* Holds the plugin editor.
*
* @since 1.0.0
* @access public
*
* @var Editor
*/
public $editor;
/**
* Frontend.
*
* Holds the plugin frontend.
*
* @since 1.0.0
* @access public
*
* @var Frontend
*/
public $frontend;
/**
* Heartbeat.
*
* Holds the plugin heartbeat.
*
* @since 1.0.0
* @access public
*
* @var Heartbeat
*/
public $heartbeat;
/**
* System info.
*
* Holds the system info data.
*
* @since 1.0.0
* @access public
*
* @var System_Info_Module
*/
public $system_info;
/**
* Template library manager.
*
* Holds the template library manager.
*
* @since 1.0.0
* @access public
*
* @var TemplateLibrary\Manager
*/
public $templates_manager;
/**
* Skins manager.
*
* Holds the skins manager.
*
* @since 1.0.0
* @access public
*
* @var Skins_Manager
*/
public $skins_manager;
/**
* Files manager.
*
* Holds the plugin files manager.
*
* @since 2.1.0
* @access public
*
* @var Files_Manager
*/
public $files_manager;
/**
* Assets manager.
*
* Holds the plugin assets manager.
*
* @since 2.6.0
* @access public
*
* @var Assets_Manager
*/
public $assets_manager;
/**
* Icons Manager.
*
* Holds the plugin icons manager.
*
* @access public
*
* @var Icons_Manager
*/
public $icons_manager;
/**
* WordPress widgets manager.
*
* Holds the WordPress widgets manager.
*
* @since 1.0.0
* @access public
*
* @var WordPress_Widgets_Manager
*/
public $wordpress_widgets_manager;
/**
* Modules manager.
*
* Holds the plugin modules manager.
*
* @since 1.0.0
* @access public
*
* @var Modules_Manager
*/
public $modules_manager;
/**
* Beta testers.
*
* Holds the plugin beta testers.
*
* @since 1.0.0
* @access public
*
* @var Beta_Testers
*/
public $beta_testers;
/**
* Inspector.
*
* Holds the plugin inspector data.
*
* @since 2.1.2
* @access public
*
* @var Inspector
*/
public $inspector;
/**
* @var Admin_Menu_Manager
*/
public $admin_menu_manager;
/**
* Common functionality.
*
* Holds the plugin common functionality.
*
* @since 2.3.0
* @access public
*
* @var CommonApp
*/
public $common;
/**
* Log manager.
*
* Holds the plugin log manager.
*
* @access public
*
* @var Log_Manager
*/
public $logger;
/**
* Dev tools.
*
* Holds the plugin dev tools.
*
* @access private
*
* @var Dev_Tools
*/
private $dev_tools;
/**
* Upgrade manager.
*
* Holds the plugin upgrade manager.
*
* @access public
*
* @var Core\Upgrade\Manager
*/
public $upgrade;
/**
* Tasks manager.
*
* Holds the plugin tasks manager.
*
* @var Core\Upgrade\Custom_Tasks_Manager
*/
public $custom_tasks;
/**
* Kits manager.
*
* Holds the plugin kits manager.
*
* @access public
*
* @var Core\Kits\Manager
*/
public $kits_manager;
/**
* @var \Elementor\Data\V2\Manager
*/
public $data_manager_v2;
/**
* Legacy mode.
*
* Holds the plugin legacy mode data.
*
* @access public
*
* @var array
*/
public $legacy_mode;
/**
* App.
*
* Holds the plugin app data.
*
* @since 3.0.0
* @access public
*
* @var App\App
*/
public $app;
/**
* WordPress API.
*
* Holds the methods that interact with WordPress Core API.
*
* @since 3.0.0
* @access public
*
* @var Wp_Api
*/
public $wp;
/**
* Experiments manager.
*
* Holds the plugin experiments manager.
*
* @since 3.1.0
* @access public
*
* @var Experiments_Manager
*/
public $experiments;
/**
* Uploads manager.
*
* Holds the plugin uploads manager responsible for handling file uploads
* that are not done with WordPress Media.
*
* @since 3.3.0
* @access public
*
* @var Uploads_Manager
*/
public $uploads_manager;
/**
* Breakpoints manager.
*
* Holds the plugin breakpoints manager.
*
* @since 3.2.0
* @access public
*
* @var Breakpoints_Manager
*/
public $breakpoints;
/**
* Assets loader.
*
* Holds the plugin assets loader responsible for conditionally enqueuing
* styles and script assets that were pre-enabled.
*
* @since 3.3.0
* @access public
*
* @var Assets_Loader
*/
public $assets_loader;
/**
* Clone.
*
* Disable class cloning and throw an error on object clone.
*
* The whole idea of the singleton design pattern is that there is a single
* object. Therefore, we don't want the object to be cloned.
*
* @access public
* @since 1.0.0
*/
public function __clone() {
_doing_it_wrong(
__FUNCTION__,
sprintf( 'Cloning instances of the singleton "%s" class is forbidden.', get_class( $this ) ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'1.0.0'
);
}
/**
* Wakeup.
*
* Disable unserializing of the class.
*
* @access public
* @since 1.0.0
*/
public function __wakeup() {
_doing_it_wrong(
__FUNCTION__,
sprintf( 'Unserializing instances of the singleton "%s" class is forbidden.', get_class( $this ) ), // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
'1.0.0'
);
}
/**
* Instance.
*
* Ensures only one instance of the plugin class is loaded or can be loaded.
*
* @since 1.0.0
* @access public
* @static
*
* @return Plugin An instance of the class.
*/
public static function instance() {
if ( is_null( self::$instance ) ) {
self::$instance = new self();
/**
* Elementor loaded.
*
* Fires when Elementor was fully loaded and instantiated.
*
* @since 1.0.0
*/
do_action( 'elementor/loaded' );
}
return self::$instance;
}
/**
* Init.
*
* Initialize Elementor Plugin. Register Elementor support for all the
* supported post types and initialize Elementor components.
*
* @since 1.0.0
* @access public
*/
public function init() {
$this->add_cpt_support();
$this->init_components();
/**
* Elementor init.
*
* Fires when Elementor components are initialized.
*
* After Elementor finished loading but before any headers are sent.
*
* @since 1.0.0
*/
do_action( 'elementor/init' );
}
/**
* Get install time.
*
* Retrieve the time when Elementor was installed.
*
* @since 2.6.0
* @access public
* @static
*
* @return int Unix timestamp when Elementor was installed.
*/
public function get_install_time() {
$installed_time = get_option( '_elementor_installed_time' );
if ( ! $installed_time ) {
$installed_time = time();
update_option( '_elementor_installed_time', $installed_time );
}
return $installed_time;
}
/**
* @since 2.3.0
* @access public
*/
public function on_rest_api_init() {
// On admin/frontend sometimes the rest API is initialized after the common is initialized.
if ( ! $this->common ) {
$this->init_common();
}
}
/**
* Init components.
*
* Initialize Elementor components. Register actions, run setting manager,
* initialize all the components that run elementor, and if in admin page
* initialize admin components.
*
* @since 1.0.0
* @access private
*/
private function init_components() {
$this->experiments = new Experiments_Manager();
$this->breakpoints = new Breakpoints_Manager();
$this->inspector = new Inspector();
Settings_Manager::run();
$this->db = new DB();
$this->controls_manager = new Controls_Manager();
$this->documents = new Documents_Manager();
$this->kits_manager = new Kits_Manager();
$this->schemes_manager = new Schemes_Manager();
$this->elements_manager = new Elements_Manager();
$this->widgets_manager = new Widgets_Manager();
$this->skins_manager = new Skins_Manager();
$this->files_manager = new Files_Manager();
$this->assets_manager = new Assets_Manager();
$this->icons_manager = new Icons_Manager();
$this->settings = new Settings();
$this->tools = new Tools();
$this->editor = new Editor();
$this->preview = new Preview();
$this->frontend = new Frontend();
$this->maintenance_mode = new Maintenance_Mode();
$this->dynamic_tags = new Dynamic_Tags_Manager();
$this->modules_manager = new Modules_Manager();
$this->templates_manager = new TemplateLibrary\Manager();
$this->role_manager = new Core\RoleManager\Role_Manager();
$this->system_info = new System_Info_Module();
$this->revisions_manager = new Revisions_Manager();
$this->images_manager = new Images_Manager();
$this->wp = new Wp_Api();
$this->assets_loader = new Assets_Loader();
$this->uploads_manager = new Uploads_Manager();
$this->admin_menu_manager = new Admin_Menu_Manager();
$this->admin_menu_manager->register_actions();
User::init();
Api::init();
Tracker::init();
$this->upgrade = new Core\Upgrade\Manager();
$this->custom_tasks = new Core\Upgrade\Custom_Tasks_Manager();
$this->app = new App\App();
if ( is_admin() ) {
$this->heartbeat = new Heartbeat();
$this->wordpress_widgets_manager = new WordPress_Widgets_Manager();
$this->admin = new Admin();
$this->beta_testers = new Beta_Testers();
new Elementor_3_Re_Migrate_Globals();
}
}
/**
* @since 2.3.0
* @access public
*/
public function init_common() {
$this->common = new CommonApp();
$this->common->init_components();
}
/**
* Get Legacy Mode
*
* @since 3.0.0
* @deprecated 3.1.0 Use `Plugin::$instance->experiments->is_feature_active()` instead
*
* @param string $mode_name Optional. Default is null
*
* @return bool|bool[]
*/
public function get_legacy_mode( $mode_name = null ) {
self::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation
->deprecated_function( __METHOD__, '3.1.0', 'Plugin::$instance->experiments->is_feature_active()' );
$legacy_mode = [
'elementWrappers' => ! self::$instance->experiments->is_feature_active( 'e_dom_optimization' ),
];
if ( ! $mode_name ) {
return $legacy_mode;
}
if ( isset( $legacy_mode[ $mode_name ] ) ) {
return $legacy_mode[ $mode_name ];
}
// If there is no legacy mode with the given mode name;
return false;
}
/**
* Add custom post type support.
*
* Register Elementor support for all the supported post types defined by
* the user in the admin screen and saved as `elementor_cpt_support` option
* in WordPress `$wpdb->options` table.
*
* If no custom post type selected, usually in new installs, this method
* will return the two default post types: `page` and `post`.
*
* @since 1.0.0
* @access private
*/
private function add_cpt_support() {
$cpt_support = get_option( 'elementor_cpt_support', self::ELEMENTOR_DEFAULT_POST_TYPES );
foreach ( $cpt_support as $cpt_slug ) {
add_post_type_support( $cpt_slug, 'elementor' );
}
}
/**
* Register autoloader.
*
* Elementor autoloader loads all the classes needed to run the plugin.
*
* @since 1.6.0
* @access private
*/
private function register_autoloader() {
require_once ELEMENTOR_PATH . '/includes/autoloader.php';
Autoloader::run();
}
/**
* Plugin Magic Getter
*
* @since 3.1.0
* @access public
*
* @param $property
* @return mixed
* @throws \Exception
*/
public function __get( $property ) {
if ( 'posts_css_manager' === $property ) {
self::$instance->modules_manager->get_modules( 'dev-tools' )->deprecation->deprecated_argument( 'Plugin::$instance->posts_css_manager', '2.7.0', 'Plugin::$instance->files_manager' );
return $this->files_manager;
}
if ( 'data_manager' === $property ) {
return Data_Manager::instance();
}
if ( property_exists( $this, $property ) ) {
throw new \Exception( 'Cannot access private property.' );
}
return null;
}
/**
* Plugin constructor.
*
* Initializing Elementor plugin.
*
* @since 1.0.0
* @access private
*/
private function __construct() {
$this->register_autoloader();
$this->logger = Log_Manager::instance();
$this->data_manager_v2 = Data_Manager_V2::instance();
Maintenance::init();
Compatibility::register_actions();
add_action( 'init', [ $this, 'init' ], 0 );
add_action( 'rest_api_init', [ $this, 'on_rest_api_init' ], 9 );
}
final public static function get_title() {
return esc_html__( 'Elementor', 'elementor' );
}
}
if ( ! defined( 'ELEMENTOR_TESTS' ) ) {
// In tests we run the instance manually.
Plugin::instance();
}
Although not as popular as other sports, is highly popular in several Asian countries, such as Bangladesh, where it is the national sport. If you are interested in Kabaddi betting, you want to find a reliable and trustworthy online sportsbook that offers competitive odds. We will take you through every step of assessing your options, depositing, placing bets, and cashing out your winnings. You should be able to pick up on a few other hints and tips along the way. BetVisa offers various payment options for betvisa casino both deposit and withdrawal transactions. Players from Bangladesh can use the site without worrying about currency exchange rates as the bookmaker accepts Bangladeshi Taka.
The live casino experience is enriched with unique offerings, featuring welcome bonuses, deposit bonuses, and tournaments. These promotions not only enhance the gaming experience but also empower players to boost their fun without the need for excessive deposits. Baji Live is a live online casino in Bangladesh, where you can interact with real dealers and other players. Baji Live features a range of live casino games, such as roulette, blackjack, baccarat, andar bahar, and teen patti. You can also play other games, such as slots, lottery, and virtual sports.
However, this doesn’t stop many players from enjoying online gambling activities. If you’re a player from Bangladesh, it’s essential to exercise caution and understand the risks before engaging in online gambling. The Betvisa Affiliate Program is an exciting opportunity for individuals to earn a lifetime commission of 50% by promoting Betvisa’s products and services. As a Betvisa affiliate, you can earn money by referring new customers to the platform. This payment system allows you to make instant wire transfers to betting sites’ accounts.
We take pride in saying that Betvisa is the top real-money online Casino in Bangladesh. For the quickest and most convenient communication with the support team, utilize the 24/7 online chat feature at Betvisa. Reach out at any time to ensure a swift resolution to your queries and concerns related to your Betvisa experience. The best odds are provided for prestigious events like the IPL and the ICC World Cup. Betvisa offers many betting options such as the main outcome, totals runs, double odds, Asian handicap, toss winner, individual totals, best pitcher, and kicker. We are committed to upholding industry standards to ensure that our gaming services provide a fair and safe experience for all players.
Whether you’re a seasoned bettor or just starting out, SABA Sports has everything you need to make informed betting decisions. “Focusing on user experience” is probably the most important principle of Betvisa BD Casino. Before being a unit, each individual in our company is a user, a fan of online casino games. Betvisa is very popular online casino and sports betting site in Bangladesh, Vietnam, Thailand and other countries in Asia. Betvisa’s official site was launched in 2020 and its high level of gambling services established the online casino number one option for endless entertainment in Bangladesh. Betvisa offers a wide range of games including slots, sports betting, and lotteries.
You can join Mostplay affiliate program to enjoy a variety of promotions, tournaments, and loyalty rewards. Betvisa BD also offers diverse variations of sports betting games, designed to engage players with innovative features and user-friendly terms. The platform incorporates advanced tools like Google Lens and image scanner, allowing users to explore betting options with ease and precision. With streaming media for real-time updates and the ability to take screenshot for quick references, Betvisa ensures a seamless online betting experience. Jeetwin is one of the most popular and trusted online casinos in Bangladesh, with millions of satisfied customers. Jeetwin offers a variety of games, such as slots, table games, live casino, and e-games.
Betvisa offers fishing game bets like Fish Hunter King, Golden Toad, Fishermen Gold, Fishing God, Deep Sea Adventure, and Fishing War. BetVisa Casino stands out as a reliable and popular online casino in Bangladesh, offering a diverse array of thrilling games and enticing bonuses. The user-friendly sign-up process and widely accepted payment methods ensure players can swiftly engage in their favorite games. To enjoy playing online casino games, it’s necessary to create a Betvisa account. If you prefer using your mobile phone for online betting, downloading the BetVisa app can provide maximum convenience. To get started, simply download the BetVisa APK file and install it on your device.
In this reward system, you will encounter unlimited cashback rewards, such as a 1.2% Cash Rebate on Slots & Fishing, 1.2% Cash Rebate on the Live Casino, or 6.88% Weekly Cashback on Sports. Remember responsible gaming and protect your login credentials to ensure the safety of your account. Once you’ve completed these steps, your account will be created, and you’ll be able to enjoy all that the BetVisa site has to offer. The brand is owned by VB Digital NV, operates under gambling licenses from Curacao Gaming Commission and PAGCOR (Philippine Amusement and Gaming Corporation). Under this legal framework, it is authorized to welcome Bengali players worldwide. Make your first deposit on Betvisa by logging in, navigating to the cashier section, selecting a payment method, and entering the deposit amount.
An exceptional feature of casino is its multilingual platform, enabling users to choose from a variety of languages. The site boasts an extensive game selection from renowned providers like Betgames, Endorphina, Playson, Pragmatic Play, Spinomenal, Spribe, Spadegaming, and more. This includes popular slot games with captivating gameplay and classic table games such as poker, roulette, blackjack, and baccarat. Betvisa is an casino and sports exchange site that offers a wide range of gambling options such as casino games, live dealer games, slot games, fishing, 3D games, bingo and poker. The website accepts multiple currencies including BDT, and has the Bengali language options to choose from. Betvisa offers an extensive array of betting markets for soccer matches, presenting a minimum of 200 options for each rated match.
]]>The platform provides an array of betting options ranging from sports betting to casino games, all tailored to meet the preferences of the local users. If you are looking for a thrilling and rewarding online casino experience, look no further than Jeetbuzz. Jeetbuzz is one of the leading online casinos in Bangladesh, offering a wide range of games, generous bonuses, and secure payment options.
The Betvisa app is absolutely free and can be easily downloaded on Android from the Play Store and on iOS smartphones and tablets from the App Store. It has a push notification feature, which ensures players are always up to date with their current bet and are the first to receive news of new promotions and bonuses. Are you interested in joining an affiliate program that offers high commissions and exclusive deals? As a leading provider of online betting and gaming services, Betvisa.app betvisa bangladesh login offers a dynamic and lucrative affiliate program for partners looking to earn top-tier commissions. Whether you have a popular blog, social media following, or website with high traffic, Betvisa.app’s Affiliate Program provides the tools and support you need to succeed.
These bonuses enhance the overall gaming experience, giving users more opportunities to win and enjoy their time on the platform. To access your Betvisa account, you must fill in the correct personal login details, username and password. One of the most common reasons for not being able to log into your account is entering incorrect login details. In this case, ensure your username and password are entered correctly. Otherwise, you can contact our customer support team to get your username back or reset your password. Betvisa.app offers customer service through various communication channels, including email, online chat, and phone support.
Online casinos like to keep their regular players sweet by offering rewarding loyalty and VIP programmes. These schemes include enticing deals, exclusive promotions, faster cashouts and even dedicated account managers. To ensure the security of funds and compliance with legal age requirements (18+), all users must undergo account verification. This is a mandatory step before full withdrawal capabilities are unlocked.
With ongoing enhancements and a keen focus on catering to local preferences, Betvisa is set to continue its trajectory of growth and innovation in the online betting sector. BetVisa has not yet received any significant international awards, but it is recognized as a respected brand in its target markets, especially in Southeast Asia and Europe. The site is known for offering competitive odds, a variety of sports and casino betting options, and a range of promotional offers. BetVisa regularly runs promotional campaigns that include cashback offers, loyalty bonuses, and participation in exclusive tournaments. These rewards help retain the user base and attract new players to the site. In addition to sports betting and casino games, the BetVisa app provides full access to live streams, withdrawals, and bonus features.
In reality, this model has been widely used around the world, and its term is “Automatic Interest”. What’s special is that Betvisa BD Casino will not limit the amount of deposits. So, you have an additional channel to increase your income with 0% risk. Betvisa’s user interface is intuitive and easy to use, making it accessible to both experienced and new players.
]]>