global_settings = $global_settings; } public function register(): void { add_action( 'wp', array( $this, 'maybe_suppress' ), 20 ); } public function maybe_suppress(): void { if ( is_admin() || ! ConflictOverrideRegistry::is_active( $this->global_settings ) ) { return; } $override = ConflictOverrideRegistry::for_active_conflict(); if ( null !== $override ) { $override->suppress(); } } }