<?php
/*
Plugin Name: Market Results
Description: Renders the all market results section on the homepage.
Version: 1.0
*/

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

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