learndash_focus_mode_comment_form_args

apply_filters( 'learndash_focus_mode_comment_form_args',  array $comment_arguments )

Filters Focus mode comment arguments.


Description #


Parameters #

$comment_arguments

(array) Focus mode comment form arguments to be used in comments_open function.


Source #

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


Examples #

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

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