learndash_focus_mode_list_comments_args

apply_filters( 'learndash_focus_mode_list_comments_args',  array $comment_list_args )

Filters Focus mode comment list arguments.


Description #


Parameters #

$comment_list_args

(array) Comment List arguments to be used in wp_list_comments arguments.


Source #

File: themes/ld30/templates/focus/comments_list.php


Examples #

 <?php
/**
 * Example usage for learndash_focus_mode_list_comments_args filter.
 */
add_filter(
	'learndash_focus_mode_list_comments_args',
	function( $comment_list_args ) {
		// May add any custom logic using $comment_list_args.

		// Always return $comment_list_args.
		return $comment_list_args;
	}
);