bp_is_activity_tabs_active( bool $default = false )
Check whether Activity Tabs are enabled.
Description
Parameters
- $default
-
(Optional) Fallback value if not found in the database. Default: false.
Default value: false
Return
(bool) True if Tabs are enabled, otherwise false.
Source
File: bp-core/bp-core-options.php
1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 | function bp_is_activity_tabs_active( $default = false ) { /** * Filters whether or not Activity Tabs are enabled. * * @since BuddyBoss 1.1.6 * * @param bool $value Whether or not Activity Tabs are enabled. */ return (bool) apply_filters( 'bp_is_activity_tabs_active' , (bool) bp_get_option( '_bp_enable_activity_tabs' , $default ) ); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.1.6 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.