mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-05-02 12:02:25 +08:00
5 lines
175 B
Text
5 lines
175 B
Text
add_filter( 'relevanssi_remove_punctuation', 'rlv_keep_comments', 9 );
|
|
function rlv_keep_comments( $string ) {
|
|
$string = str_replace( '<!', '', $string );
|
|
return $string;
|
|
}
|