comment_form_field_comment

FILTER wp-includes\comment-template.php (ligne 2807) github
Filters the content of the comment textarea field for display.

Paramètres

Entrée :
$field
Sortie :
@param string $args_comment_field The content of the comment textarea field.

Utilisation

// Modifier la valeur avec le filtre 'comment_form_field_comment'
add_filter('comment_form_field_comment', 'ma_fonction_filtre', 10, 1);

function ma_fonction_filtre($field) {
    // Modifier la valeur
    return $field;
}

Actualités

Chargement des actualités...