Skip to main content

Filter: gk/foundation/is-production-environment

Filters whether the site is considered a production environment for Foundation's security-sensitive defaults (e.g. outbound sslverify). Return true to enforce the strict production behavior, false to opt out (useful on production hosts with broken CA bundles, or when testing non-production hardening locally).

Parameters

NameTypeDescription
$is_productionboolWhether the detected environment is production.

Since

  • 1.15.0

Source

Defined in Helpers/Core.php at line 421