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 #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |