clear_if_blocking(UsageLimits::OPT_BULK_USED, self::BLOCKING_BULK); $this->clear_if_blocking(UsageLimits::OPT_AUTO_USED, self::BLOCKING_AUTOMATION); } /** * Idempotent by value as well as by the version gate: once the option is under the threshold * this does nothing, so running it twice is the same as running it once. */ private function clear_if_blocking(string $option, int $threshold): void { if ((int) get_option($option, 0) >= $threshold) { update_option($option, 0, false); } } }