HEX
Server: Apache/2
System: Linux server.vm113-cu.cl1.il.proginter.com 4.18.0-553.78.1.el8_10.x86_64 #1 SMP Tue Oct 7 04:15:13 EDT 2025 x86_64
User: regevl (1053)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/regevl/domains/to-web.co.il/public_html/my/wp-content/plugins/optinmonster/OMAPI/Promos.php
<?php
/**
 * Promos class.
 *
 * @since 2.10.0
 *
 * @package OMAPI
 * @author  Justin Sternberg
 */

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

/**
 * Promos class.
 *
 * @since 2.10.0
 */
class OMAPI_Promos {

	/**
	 * OMAPI_Promos_TrustPulse object (loaded only in the admin)
	 *
	 * @var OMAPI_Promos_TrustPulse
	 */
	public $trustpulse;

	/**
	 * OMAPI_Promos_SeedProd object (loaded only in the admin)
	 *
	 * @var OMAPI_Promos_SeedProd
	 */
	public $seedprod;

	/**
	 * OMAPI_ConstantContact object (loaded only in the admin)
	 *
	 * @var OMAPI_ConstantContact
	 */
	public $constant_contact;

	/**
	 * Constructor
	 *
	 * @since 2.10.0
	 */
	public function __construct() {
		add_action( 'optin_monster_api_admin_loaded', array( $this, 'init_promos' ) );
	}

	/**
	 * Initiate the promos objects.
	 *
	 * @since 2.10.0
	 *
	 * @return void
	 */
	public function init_promos() {
		$this->trustpulse = new OMAPI_Promos_TrustPulse();
		$this->seedprod   = new OMAPI_Promos_SeedProd();
		if ( OMAPI_Partners::has_partner_url() ) {
			$this->constant_contact = new OMAPI_ConstantContact();
		}
	}

}