# booking/11.7/includes/_functions/feature-flags.php

Booking Calendar, version 11.7. 57 lines.

- Page: https://pluginprobe.com/plugins/booking/11.7/code/includes/_functions/feature-flags.php
- Raw: https://pluginprobe.com/plugins/booking/11.7/raw/includes/_functions/feature-flags.php
- Modified: 2026-08-22T14:02:04+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/booking/11.7/code/includes/_functions/feature-flags.php#L10-L20`.

```php
<?php
/**
 * Booking Calendar release feature gates.
 *
 * @package Booking Calendar
 * @since   11.4.4
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( ! function_exists( 'wpbc_is_11_5_features_enabled' ) ) {
	/**
	 * Report that the released Booking Calendar 11.5 feature set is enabled.
	 *
	 * Booking Calendar Pro 11.5 conditionally calls this function before
	 * applying released pricing and booking-parameter filters. Free 11.6 keeps
	 * this compatibility shim so those supported mixed-version installations
	 * continue to execute the established Pro hooks.
	 *
	 * @deprecated 11.6.0 The 11.5 features are now always available.
	 *
	 * @return bool Always true.
	 */
	function wpbc_is_11_5_features_enabled() {
		return true;
	}
}

/**
 * Check whether the unfinished Booking Calendar 11.6 feature set may load.
 *
 * The constant is a hard, non-filterable bootstrap boundary. Disabling it
 * removes 11.6 modules and menus while leaving released functionality loaded.
 *
 * @return bool True when the 11.6 feature modules may bootstrap.
 */
function wpbc_is_11_6_features_enabled() {

	return defined( 'WPBC_ENABLE_11_6_FEATURES' ) && true === WPBC_ENABLE_11_6_FEATURES;
}

/**
 * Check whether the experimental template-driven catalog may load.
 *
 * This dedicated, non-filterable gate does not replace the 11.6 master gate.
 * Callers at bootstrap boundaries must require both gates so an explicitly
 * enabled catalog cannot bypass a disabled 11.6 feature set.
 *
 * @return bool True only when the catalog constant is the boolean true.
 */
function wpbc_is_11_6_catalog_v2_enabled() {

	return defined( 'WPBC_ENABLE_11_6_CATALOG_V2' ) && true === WPBC_ENABLE_11_6_CATALOG_V2;
}

```
