<?php
/*
Plugin Name: Final Results
Description: Renders the final ank and golden ank block on the homepage.
Version: 1.0
*/

register_block('final', function (): void {
    $db = $GLOBALS['db'] ?? null;
    if (!$db instanceof PDO) {
        return;
    }

    require CMS_ROOT . '/includes/final.php';
});
