bp_search_get_settings_sections()

Get the Search settings sections.

Description

Return

(array)

Source

File: bp-search/bp-search-settings.php

function bp_search_get_settings_sections() {
	return (array) apply_filters( 'bp_search_get_settings_sections', array(
		'bp_search_settings_community'  => array(
			'page'     => 'search',
			'title'    => __( 'Network Search', 'buddyboss' ),
			'callback' => 'bp_search_settings_callback_community_section',
		),
		'bp_search_settings_post_types' => array(
			'page'  => 'search',
			'title'    => __( 'Pages and Posts Search', 'buddyboss' ),
			'callback' => 'bp_search_settings_callback_post_type_section',
		),
		'bp_search_settings_general'    => array(
			'page'  => 'search',
			'title'    => __( 'Autocomplete Settings', 'buddyboss' ),
			'callback' => '',
		),
	) );
}

Changelog

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.