Skip to content

Commit

Permalink
Add a missing documentation link
Browse files Browse the repository at this point in the history
  • Loading branch information
ingeniumed committed Jun 24, 2024
1 parent 00e0cee commit d27c743
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions common/php/class-module.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d27c743

Please sign in to comment.