thread_comments_depth_max

FILTER wp-admin\options-discussion.php (ligne 103) github
Filters the maximum depth of threaded/nested comments.

Paramètres

Entrée :
10
Sortie :
@param int $max_depth The maximum depth of threaded comments. Default 10.

Utilisation

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

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

Actualités

Chargement des actualités...