| 1 |
<?php |
| 2 |
/** |
| 3 |
* Booking Calendar release feature gates. |
| 4 |
* |
| 5 |
* @package Booking Calendar |
| 6 |
* @since 11.4.4 |
| 7 |
*/ |
| 8 |
|
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
|
| 13 |
/** |
| 14 |
* Check whether the unfinished Booking Calendar 11.5 feature set may load. |
| 15 |
* |
| 16 |
* The constant is deliberately a hard master gate. It is not filterable while |
| 17 |
* disabled, which prevents an extension from accidentally exposing unfinished |
| 18 |
* interfaces in an 11.4.x maintenance release. |
| 19 |
* |
| 20 |
* @return bool True when the 11.5 feature modules may bootstrap. |
| 21 |
*/ |
| 22 |
function wpbc_is_11_5_features_enabled() { |
| 23 |
|
| 24 |
return defined( 'WPBC_ENABLE_11_5_FEATURES' ) && true === WPBC_ENABLE_11_5_FEATURES; |
| 25 |
} |
| 26 |
|