Initialize public HG Inschrijvingen source
This commit is contained in:
commit
c84fea26a0
23 files changed
+1623
No files matched your search
Vendored
+11
@@ -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');
|
||||
});
|
||||
Reference in new issue
Block a user