<?php
namespace OxygenApp\Hooks;

if ( ! defined( 'ABSPATH' ) ) exit;

class FiltersCustom implements IHook {
    static function register() {
        add_filter('oxygen_app_filter_frontend_template_request', [self::class, 'onFrontendTemplateRequest'], 20);
    }

    static function onFrontendTemplateRequest(string $originalTemplate) {
        return OXYLEAF_APP_PATH . 'app/Views/Frontend/Index.php';
    }
}