<?php

declare(strict_types=1);

$ctx = require __DIR__ . '/bootstrap.php';

$wp = $ctx['wp'];
assert($wp instanceof FecaMailshots\WordPress\FixtureWordPressFacade);

$hook = $_GET['hook'] ?? 'admin_post_feca_mailshots_data_sources_api';
$wp->dispatch($hook);
