gravityflow_reverse_comment_order_discussion_field

The gravityflow_reverse_comment_order_discussion_field filter allows the order of the discussion field comments to be reversed.

Parameters

Parameter Type Definition
$reverse_comment_order Bool Should the comment order be reversed? Default is false.
$this Field object The field currently being processed.
$format Format The requested format for the value; html or text.

Examples

Example 1 -

Placeholder code.

add_filter( 'gravityflow_reverse_comment_order_discussion_field', 'sh_gravityflow_reverse_comment_order_discussion_field', 10, 3 );
    function sh_gravityflow_feedback_cancel_workflow($reverse_comment_order, $this, $format) {
        //Do something here;
    }

Placement

This code should be placed in the functions.php file of your active theme or in a custom functions plugin.