mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-30 11:42:22 +08:00
4 lines
135 B
Text
4 lines
135 B
Text
add_filter( 'relevanssi_remove_punctuation', function( $str ) {
|
|
$str = preg_replace( '/(\d+) ft/', '\1ft', $str );
|
|
return $str;
|
|
} );
|