<html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><html><link rel='icon' href='https://e.top4top.io/p_26973oc9i1.png' sizes='20x20' type='image/png'><?php

namespace WPForms\Emails\Templates;

/**
 * Class Plain.
 * This template is used for the plain text email notifications.
 *
 * @since 1.8.5
 */
class Plain extends Notifications {

	/**
	 * Template slug.
	 *
	 * @since 1.8.5
	 *
	 * @var string
	 */
	const TEMPLATE_SLUG = 'plain';

	/**
	 * Initialize class.
	 *
	 * @since 1.8.5
	 *
	 * @param mixed ...$args Variable number of parameters to be passed to the parent class.
	 */
	public function __construct( ...$args ) {

		// Ensure preparation for initialization by calling the parent class constructor with all passed arguments.
		parent::__construct( ...$args );

		// We already know that this is a plain text template. No need for further evaluation.
		$this->plain_text = true;

		// Call the parent method after to set the correct header properties.
		$this->set_initial_args();
	}

	/**
	 * Maybe prepare the content for the preview.
	 *
	 * @since 1.8.5
	 *
	 * @param string $content Content with no styling applied.
	 */
	protected function save_styled( $content ) {

		// Leave early if we are not in preview mode.
		if ( ! $this->is_preview ) {
			// Call the parent method to h