apply_filters( 'learndash_focus_mode_comment_form_args', array $comment_arguments )
Filters Focus mode comment form arguments.
Description #
Parameters #
- $comment_arguments
-
(array) Focus mode comment form arguments to be used in comments_open function.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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; } );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |