# 404-solution/trunk/includes/core/PluginLogicInterface.php

404 Solution, version trunk. 23 lines.

- Page: https://pluginprobe.com/plugins/404-solution/trunk/code/includes/core/PluginLogicInterface.php
- Raw: https://pluginprobe.com/plugins/404-solution/trunk/raw/includes/core/PluginLogicInterface.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/core/PluginLogicInterface.php#L10-L20`.

```php
<?php

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

/**
 * Narrow contract published by the Core layer so the Data layer (DatabaseUpgrade*,
 * PermalinkCache) can call back into business logic without statically depending
 * on the concrete ABJ_404_Solution_PluginLogic class. Lives in the Shared layer
 * for deptrac purposes so Data -> Shared remains the only direction crossed.
 */
interface ABJ_404_Solution_PluginLogicInterface {

    /**
     * Re-register all WP cron hooks owned by the plugin. Used by upgrade flows
     * that complete schema work and need to ensure schedulers are wired.
     *
     * @return void
     */
    public function registerCrons(): void;
}

```
