Uname: Linux premium264.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.3.22 [ PHP INFO ] PHP os: Linux
Server Ip: 69.57.162.13
Your Ip: 216.73.216.219
User: workvvfb (1129) | Group: workvvfb (1084)
Safe Mode: OFF
Disable Function:
NONE

name : 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;
    }
}
© 2025 GrazzMean