comment_form_submit_button

FILTER wp-includes\comment-template.php (ligne 2869) github
Filters the submit button for the comment form to display.

Paramètres

Entrée :
$submit_button, $args
Sortie :
@param string $submit_button HTML markup for the submit button.
@param array  $args          Arguments passed to comment_form().

Utilisation

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

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

Actualités

Chargement des actualités...