Changeset 14013 for trunk/src/bp-core/bp-core-rest-api.php
- Timestamp:
- 08/31/2024 01:26:36 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-rest-api.php
r13968 r14013 34 34 */ 35 35 function bp_rest_in_buddypress() { 36 $is_src = defined( 'BP_SOURCE_SUBDIRECTORY' ) && BP_SOURCE_SUBDIRECTORY === 'src'; 37 38 return ! $is_src && ! bp_rest_is_plugin_active(); 36 return ! bp_is_running_from_src_subdirectory() && ! bp_rest_is_plugin_active(); 39 37 } 40 38
Note: See TracChangeset
for help on using the changeset viewer.