Initialize public HG Inschrijvingen source

This commit is contained in:
parkel committed 2026-11-18 15:51:55 +01:00
commit c84fea26a0
23 files changed
+1623

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<?php
/** Isolated staging fixture for the HTTP integration test. */
if (!defined('ABSPATH')) exit;
if (wp_get_environment_type() !== 'staging') return;
define('HGR_TEST_MAIL_BLOCKED', true);
add_filter('pre_wp_mail', '__return_true', PHP_INT_MAX);
add_action('send_headers', static function (): void {
header('X-HGR-Test-Mail: blocked');
});