Да, для этого есть фильтр.
function my_content_filter($the_content) {
// fiddle with the content here
// we only want to run once, so remove yourself right away
remove_filter('the_content', 'my_content_filter', 10);
return $the_content;
}
add_filter('the_content', 'my_content_filter', 10);
Используйте функцию is_home()
для выполнения соответствующих проверок, если вы хотите, чтобы это выполнялось только на домашней странице.