wp_get_comment_fields_max_lengths

FUNCTION wp-includes\comment.php (ligne 1125) github
Filters the arguments used to query comments in get_page_of_comment().

Paramètres

Entrée :
N/A
Sortie :
@param array $comment_args {
@param int   $page          Comment page.
@param array $args {
@param array $original_args {
@param int $comment_id ID of the comment.
@return int[] Array of maximum lengths keyed by field name.

Utilisation

// Utilisation de la fonction wp_get_comment_fields_max_lengths
$result = wp_get_comment_fields_max_lengths();

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

Actualités

Chargement des actualités...