From d27c7431f299bd14be971955833b778ad6599709 Mon Sep 17 00:00:00 2001 From: ingeniumed Date: Mon, 24 Jun 2024 15:50:32 +1000 Subject: [PATCH] Add a missing documentation link --- common/php/class-module.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/php/class-module.php b/common/php/class-module.php index fee0162d..99d220bf 100644 --- a/common/php/class-module.php +++ b/common/php/class-module.php @@ -72,6 +72,12 @@ function is_analytics_enabled() { return 'on' === $edit_flow->settings->module->options->analytics; } + /** + * Check if the site is a WPVIP site. + * + * @since 0.10.0 + * @return true, if it is a WPVIP site, false otherwise + */ function is_vip_site() { return defined( 'WPCOM_IS_VIP_ENV' ) && constant( 'WPCOM_IS_VIP_ENV' ) === true && defined( 'WPCOM_SANDBOXED' ) && constant( 'WPCOM_SANDBOXED' ) === false