File Manager

Current Path : /webspace/www.beetasty.be/html/wp-content/themes/Divi/includes/builder/plugin-compat/
Upload File :
Current File : /webspace/www.beetasty.be/html/wp-content/themes/Divi/includes/builder/plugin-compat/kvcore-idx.php

<?php
/**
 * Compatibility for kvCORE.
 *
 * @package Divi
 * @subpackage Builder
 * @since 4.10.8
 */

if ( ! defined( 'ABSPATH' ) ) {
	// Exit if accessed directly.
	exit;
}

/**
 * Compatibility for kvCORE.
 *
 * @since 4.10.8
 *
 * @link https://wordpress.org/plugins/kvcore-idx/
 */
class ET_Builder_Plugin_Compat_KvCORE extends ET_Builder_Plugin_Compat_Base {
	/**
	 * Constructor.
	 *
	 * @since 4.10.8
	 */
	public function __construct() {
		$this->plugin_id = 'kvcore-idx/kvcore-idx.php';
		$this->init_hooks();
	}

	/**
	 * Hook methods to WordPress.
	 *
	 * @since 4.10.8
	 *
	 * @return void
	 */
	public function init_hooks() {
		// Bail if there's no version found.
		if ( ! $this->get_plugin_version() ) {
			return;
		}

		// Plugin is just incompatible with JQuery Body feature.
		add_filter( 'et_builder_enable_jquery_body', '__return_false', 10, 2 );
	}
}

new ET_Builder_Plugin_Compat_KvCORE();

File Manager Version 1.0, Coded By Lucas
Email: hehe@yahoo.com