mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-01 11:52:25 +08:00
https://wordpress.org/support/topic/keyword-matching-setting-whole-words-doesnt-work/ https://www.relevanssi.com/user-manual/filter-hooks/relevanssi_punctuation_filter/
4 lines
129 B
Text
4 lines
129 B
Text
add_filter( 'relevanssi_punctuation_filter', function( $replacements ) {
|
|
$replacements['_'] = '';
|
|
return $replacements;
|
|
} );
|