HEX
Server: LiteSpeed
System: Linux 112.webhostingindonesia.co.id 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
User: iyfwylsv (10313)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //proc/self/cwd/wp-content/plugins/mailchimp-for-wp/includes/forms/class-form-message.php
<?php

/**
 * Class MC4WP_Form_Notice
 *
 * @ignore
 * @access private
 */
class MC4WP_Form_Notice {


	/**
	 * @var string
	 */
	public $type = 'error';

	/**
	 * @var string
	 */
	public $text;

	/**
	 * @param string $text
	 * @param string $type
	 */
	public function __construct( $text, $type = 'error' ) {
		$this->text = $text;

		if ( ! empty( $type ) ) {
			$this->type = $type;
		}
	}

	/**
	 * @return string
	 */
	public function __toString() {
		return $this->text;
	}
}