функция
since 1.0.0
comment_text_rss()
Проверено на WordPress 6.9, обновлено Источник: WordPress Developer Resources.
Сигнатура
comment_text_rss()
Описание
Выводит содержимое текущего комментария для использования в лентах.
Исходный код
wp-includes/feed.php:356
function comment_text_rss() {
$comment_text = get_comment_text();
/**
* Filters the current comment content for use in a feed.
*
* @since 1.5.0
*
* @param string $comment_text The content of the current comment.
*/
$comment_text = apply_filters( 'comment_text_rss', $comment_text );
echo $comment_text;
}
История изменений
| Версия | Описание |
|---|---|
| 1.0.0 | Introduced. |

