<?php
/**
 * WeCodeArt Framework.
 *
 * WARNING: This file is part of the core WeCodeArt Framework. DO NOT edit this file under any circumstances.
 * Please do all modifications in the form of a child theme.
 *
 * @package 	WeCodeArt Framework
 * @subpackage 	Conditional\is_front_page
 * @copyright   Copyright (c) 2025, WeCodeArt Framework
 * @since 		4.0
 * @version		6.3.7
 */

namespace WeCodeArt\Support\IfSo;

defined( 'ABSPATH' ) || exit;

use WeCodeArt\Config\Interfaces\Conditional;

/**
 * Conditional that is only met when in the front page.
 */
class Front implements Conditional {

	/**
	 * @inheritdoc
	 */
	public function is_met(): bool {
		return \is_front_page() && ! \is_home();
	}
}