gravityflow_event_limit_activity_page

Use this filter to limit the events that are to be displayed on the Activity page

Parameters

$event_count int

Examples

Example 1

This example limits events displayed on the Activity page to 5.

add_filter( 'gravityflow_event_limit_activity_page', 'limit_events', 10, 2 );
function sh_gf_menu( $event_count ) {
    $event_count = 5;
    return $event_count;
}

Placement

This code should be placed in the functions.php file of your active theme.