bp_is_search_autocomplete_enable( $default = 1 )
Checks if search autocomplete feature is enabled.
Description
Parameters
- $default
-
(Optional) bool Optional.Default value true
Default value: 1
Return
(bool) Is search autocomplete enabled or not
Source
File: bp-search/bp-search-settings.php
function bp_is_search_autocomplete_enable( $default = 1 ) { return (bool) apply_filters( 'bp_is_search_autocomplete_enable', (bool) get_option( 'bp_search_autocomplete', $default ) ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | 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.