rest_autocomplete_search()
This functions searches post data as well as custom field data. Post types can specifically be excluded from autocomplete searches with the filter nebula_autocomplete_ignore_types. Individual posts can specifically be excluded…