Changeset 13686 for trunk/src/bp-core/bp-core-theme-compatibility.php
- Timestamp:
- 01/01/2024 10:56:10 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-theme-compatibility.php
r13395 r13686 1042 1042 } 1043 1043 } 1044 1045 /** 1046 * Informs about whether current theme compat is about a block theme. 1047 * 1048 * @since 14.0.0 1049 * 1050 * @return boolean True if current theme compat is about a block theme. 1051 * False otherwise. 1052 */ 1053 function bp_theme_compat_is_block_theme() { 1054 $theme = buddypress()->theme_compat->theme; 1055 1056 return isset( $theme->is_block_theme ) && $theme->is_block_theme; 1057 }
Note: See TracChangeset
for help on using the changeset viewer.