# 404-solution/trunk/includes/frontend/FrontendRuntimeOptions.php

404 Solution, version trunk. 21 lines.

- Page: https://pluginprobe.com/plugins/404-solution/trunk/code/includes/frontend/FrontendRuntimeOptions.php
- Raw: https://pluginprobe.com/plugins/404-solution/trunk/raw/includes/frontend/FrontendRuntimeOptions.php
- Modified: 2026-06-23T05:55:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/404-solution/trunk/code/includes/frontend/FrontendRuntimeOptions.php#L10-L20`.

```php
<?php

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

/**
 * Reads frontend runtime options and normalizes malformed provider responses.
 */
class ABJ_404_Solution_FrontendRuntimeOptions {

    /**
     * @param bool $skipDbCheck
     * @return array<string, mixed>
     */
    function get(bool $skipDbCheck = false): array {
        $options = abj_service('options_repository')->getOptions($skipDbCheck);
        return is_array($options) ? $options : array();
    }
}

```
