<?php
/**
 * Filterable functions defination
 *
 * @package ZyreAddons
 * @since 1.0.0
 * @author Elmentorin
 */

defined( 'ABSPATH' ) || die();

if ( ! function_exists( 'zyreladdons_is_on_demand_cache_enabled' ) ) {
	/**
	 * Checks if on-demand cache feature is enabled.
	 *
	 * @since 1.0.0
	 * @return bool Whether on-demand cache feature is enabled.
	 */
	function zyreladdons_is_on_demand_cache_enabled() {
		return apply_filters( 'zyreladdons/features/on_demand_cache', true );
	}
}
