Clanbite Forums REST

apply_filters( 'clanbite_forums_max_replies_tree_load', int $max, int $topic_id )

Cap how many replies load at once for threaded view (mode=tree).

Filter PHP

Parameters

$max (int)

Maximum rows.

$topic_id (int)

Topic ID.

Example

add_filter( 'clanbite_forums_max_replies_tree_load', function ( $max, $topic_id ) {
	// Change $max here.
	return $max;
}, 10, 2 );

Defined in inc/Rest/Rest_Controller.php