SILENT KILLERPanel

Current Path: > home > transcarter > > www > wp-content > themes > woostify > inc > compatibility


Operation   : Linux host59.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Software     : Apache
Server IP    : 198.54.126.42 | Your IP: 216.73.216.135
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/transcarter//www/wp-content/themes/woostify/inc/compatibility

NameTypeSizeLast ModifiedActions
elementor Directory - -
class-woostify-divi-builder.php File 1254 bytes June 12 2025 15:15:30.

Reading File: /home/transcarter//www/wp-content/themes/woostify/inc/compatibility/class-woostify-divi-builder.php

<?php
/**
 * Divi Builder File.
 *
 * @package woostify
 */

// If plugin - 'Divi Builder' not exist then return.
if ( ! class_exists( 'ET_Builder_Plugin' ) ) {
	return;
}

if ( ! class_exists( 'Woostify_Divi_Builder' ) ) {
	/**
	 * Main class
	 */
	class Woostify_Divi_Builder {
		/**
		 * Instance
		 *
		 * @var object instance
		 */
		private static $instance;

		/**
		 * Initiator
		 */
		public static function init() {
			if ( ! isset( self::$instance ) ) {
				self::$instance = new self();
			}
			return self::$instance;
		}

		/**
		 * Constructor
		 */
		public function __construct() {
			add_action( 'init', array( $this, 'woostify_divi_builder_hooks' ) );
			add_filter( 'woostify_customizer_css', array( $this, 'woostify_divi_builder_add_custom_css' ) );
		}

		/**
		 * Hooks and filters
		 */
		public function woostify_divi_builder_hooks() {
			remove_action( 'woocommerce_before_shop_loop_item_title', 'et_divi_builder_template_loop_product_thumbnail', 10 );
		}

		/**
		 * Custom css
		 *
		 * @param string $styles Stylesheet.
		 */
		public function woostify_divi_builder_add_custom_css( $styles ) {
			$styles .= 'body.et-fb:not(.folded) #view { position: static; }';
			return $styles;
		}
	}
}

Woostify_Divi_Builder::init();

SILENT KILLER Tool