bp_search_settings_callback_albums()

Allow Post Type search setting field

Description

Source

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

function bp_search_settings_callback_albums() {
	?>
	<input
			name="bp_search_albums"
			id="bp_search_albums"
			type="checkbox"
			value="1"
			<?php checked( bp_is_search_albums_enable( false ) ); ?>
	/>
	<label for="bp_search_albums">
		<?php esc_html_e( 'Albums', 'buddyboss' ); ?>
	</label>
	<?php
}

Changelog

Changelog
Version Description
BuddyBoss 1.4.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.