comment_form

FUNCTION wp-includes\comment-template.php (ligne 2261) github
Filters the arguments used in retrieving the comment list.

Paramètres

Entrée :
$args = array(
Sortie :
@param array $parsed_args An array of arguments for displaying comments.
@param array       $args {
@param int|WP_Post $post Optional. Post ID or WP_Post object to generate the form for. Default current post.

Utilisation

// Utilisation de la fonction comment_form
$result = comment_form($args = array();

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...