08/29/2016 at 3:52 pm
#388113
Keymaster
@ Brittany
Sure, you could hook into the cn_search_terms
filter. Here’s an example:
add_filter( 'cn_search_terms', 'cn_exact_search_only' );
function cn_exact_search_only( $terms ) {
return $terms[0];
}
The $terms
variable is an array where index 0
will be the whole string.
Hope that helps!