HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //srv/htdocs/wp-content/themes/Divi/includes/builder/class-et-builder-theme-compat-base.php
<?php
/**
 * Theme compat base class.
 *
 * @package Divi
 * @subpackage Builder
 * @since 4.10.0
 */

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

/**
 * Base class for plugin compatibility file.
 *
 * @since 4.10.0
 */
class ET_Builder_Theme_Compat_Base {

	/**
	 * Theme name.
	 *
	 * @access private
	 * @var array
	 */
	public $theme_id;

	/**
	 * Get theme dir path based on theme_id.
	 *
	 * @return sting
	 */
	public function get_theme_dir_path() {
		return get_stylesheet_directory();
	}

	/**
	 * Get theme data.
	 *
	 * @return object
	 */
	public function get_theme_data() {
		return wp_get_theme();
	}

}