apply_filters( 'comment_form_field_comment', string $args_comment_field )
Filters the content of the comment textarea field for display.
Description Description
Parameters Parameters
- $args_comment_field
-
(string) The content of the comment textarea field.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
function ardeya_textarea() { $comment_field = '<textarea id="comment" placeholder="' . esc_attr__( 'Напишите комментарий', 'ardeya' ) ) . '" name="comment" cols="45" rows="8" maxlength="65525" aria-required="true" required="required"></textarea>'; return $comment_field; } add_filter( 'comment_form_field_comment', 'ardeya_textarea' );