<?php
/**
 * PRD E4 bootstrap for the opt-in Ad Layouts mode.
 *
 * Kept in its own file so the layouts slice owns its wiring: the main plugin
 * bootstrap only requires this file, and everything else (settings tab,
 * presets, block, widget, placement sync) hangs off AdLayouts::register_hooks()
 * on `plugins_loaded`. The mode is OFF by default; with it off,
 * register_hooks() adds no front-end hook and makes no request.
 */

namespace EncypherProvenance;

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

require_once ENCYPHER_PROVENANCE_PLUGIN_DIR . 'includes/class-encypher-ad-layouts.php';

add_action('plugins_loaded', [AdLayouts::class, 'register_hooks']);
