relevanssi_block_one_letter_searches

apply_filters( 'relevanssi_block_one_letter_searches', boolean $block )

Determines whether one-letter search terms are allowed or not.

Parameters

$block
(boolean) If true, one-letter search terms are not allowed. If false, they are allowed. Default true.

More information

By default Relevanssi blocks all one-letter search terms from the search, no matter what the minimum word length setting is. If you want to allow one-letter search terms, return false for this filter hook:

add_filter( 'relevanssi_block_one_letter_searches', '__return_false' );

If you want to allow one-letter highlights in excerpts, see relevanssi_allow_one_letter_highlights.