HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/advanced-ads/modules/privacy/main.php
<?php
if ( class_exists( 'Advanced_Ads', false ) ) {

	// only load if not already existing (maybe included from another plugin)
	if ( defined( 'ADVADS_PRIVACY_SLUG' ) ) {
		return;
	}

	// general and global slug, e.g. to store options in WP
	define( 'ADVADS_PRIVACY_SLUG', 'advanced-ads-privacy' );
	define( 'ADVADS_PRIVACY_BASE_PATH', plugin_dir_path( __FILE__ ) );
	define( 'ADVADS_PRIVACY_BASE_URL', plugins_url( basename( ADVADS_ABSPATH ) . '/modules/' . basename( ADVADS_PRIVACY_BASE_PATH ) . '/' ) );

	Advanced_Ads_Privacy::get_instance();

	if ( is_admin() ) {
		Advanced_Ads_Privacy_Admin::get_instance();
	}
}