HEX
Server: Apache/2.4.65 (Ubuntu)
System: Linux ielts-store-v2 6.8.0-1036-gcp #38~22.04.1-Ubuntu SMP Thu Aug 14 01:19:18 UTC 2025 x86_64
User: root (0)
PHP: 7.2.34-54+ubuntu20.04.1+deb.sury.org+1
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Upload Files
File: /var/www/html/ielts-store/wp-content/plugins/automatewoo/includes/Constants.php
<?php

namespace AutomateWoo;

/**
 * Class to define AutomateWoo constants.
 *
 * @class Constants
 * @package AutomateWoo
 */
class Constants {

	/**
	 * Initialize AW constants
	 */
	public static function init() {
		self::set_defaults();
	}

	/**
	 * Set defaults
	 */
	public static function set_defaults() {

		if ( ! defined( 'AW_PREVENT_WORKFLOWS' ) ) {
			define( 'AW_PREVENT_WORKFLOWS', false );
		}

		if ( ! defined( 'AUTOMATEWOO_DISABLE_ASYNC_CUSTOMER_NEW_ACCOUNT' ) ) {
			define( 'AUTOMATEWOO_DISABLE_ASYNC_CUSTOMER_NEW_ACCOUNT', false );
		}

		if ( ! defined( 'AUTOMATEWOO_DISABLE_ASYNC_SUBSCRIPTION_STATUS_CHANGED' ) ) {
			define( 'AUTOMATEWOO_DISABLE_ASYNC_SUBSCRIPTION_STATUS_CHANGED', false );
		}

		if ( ! defined( 'AUTOMATEWOO_DISABLE_ASYNC_ORDER_STATUS_CHANGED' ) ) {
			define( 'AUTOMATEWOO_DISABLE_ASYNC_ORDER_STATUS_CHANGED', false );
		}

		if ( ! defined( 'AUTOMATEWOO_LOG_ASYNC_EVENTS' ) ) {
			define( 'AUTOMATEWOO_LOG_ASYNC_EVENTS', false );
		}

		if ( ! defined( 'AUTOMATEWOO_ENABLE_INSTANT_EVENT_DISPATCHING' ) ) {
			// Default value was changed to true in 4.9.0
			define( 'AUTOMATEWOO_ENABLE_INSTANT_EVENT_DISPATCHING', true );
		}

		if ( ! defined( 'AUTOMATEWOO_LOG_SENT_SMS' ) ) {
			define( 'AUTOMATEWOO_LOG_SENT_SMS', false );
		}

		if ( ! defined( 'AUTOMATEWOO_BACKGROUND_PROCESS_DEBUG' ) ) {
			define( 'AUTOMATEWOO_BACKGROUND_PROCESS_DEBUG', false );
		}

		if ( ! defined( 'AUTOMATEWOO_ACTIVE_CAMPAIGN_DEBUG' ) ) {
			define( 'AUTOMATEWOO_ACTIVE_CAMPAIGN_DEBUG', WP_DEBUG );
		}

		/**
		 * Values used to display notices to warn of planned changes to the minimum requirements.
		 *
		 * @since 4.9.5
		 */
		// The AutomateWoo release that will implement the indicated changes.
		if ( ! defined( 'AUTOMATEWOO_NOTICE_AW_VER' ) ) {
			define( 'AUTOMATEWOO_NOTICE_AW_VER', '5.2.0' );
		}
		// The new WordPress minimum required version after the changes.
		if ( ! defined( 'AUTOMATEWOO_NOTICE_WP_VER' ) ) {
			define( 'AUTOMATEWOO_NOTICE_WP_VER', '5.2.0' );
		}
		// The new WooCommerce require version after the changes.
		if ( ! defined( 'AUTOMATEWOO_NOTICE_WC_VER' ) ) {
			define( 'AUTOMATEWOO_NOTICE_WC_VER', '4.5.0' );
		}

	}

}