search_form_default_record_types

New in version 2.3.

Usage

Filter default selected record types for the search form.

Using this filter, a site can have record types that are enabled for indexing but will not appear in search results unless specifically requested by a user performing an advanced search.

Value

array $recordTypes

Array of record types. The defaults are all the types enabled in the site’s Search Settings

Arguments

None