درود
میتونید به شکل زیر عمل کنید.
<?php
function rep_words_to_link ($content) {
$words_arr = array ('WORD 1','WORD 2','WORD 3');
$new_words_arr = array ('NEW WORD 1','NEW WORD 2','NEW WORD3');
return str_replace($words_arr, $new_words_arr, $content);
}
add_filter('the_content', 'rep_words_to_link');
add_filter('the_excerpt', 'rep_words_to_link');
?>
موفق باشید