Clanbite Events

apply_filters( 'clanbite_events_rest_max_per_page_paginated', int $max )

Filter maximum page size for paginated event list queries.

Filter PHP

Parameters

$max (int)

Upper bound for per_page when no start/end window is set.

Example

add_filter( 'clanbite_events_rest_max_per_page_paginated', function ( $max ) {
	// Change $max here.
	return $max;
}, 10, 1 );

Defined in inc/events/functions.php