relevanssi_{X}days

apply_filters( 'relevanssi_1day', 1 )
apply_filters( 'relevanssi_7days', 7 )
apply_filters( 'relevanssi_30days', 30 )

Adjusts the number of days of logs displayed on the User searches page.

Parameters

$number_of_days
(int) The number of days to display.

More information

By default Relevanssi shows the logs for 1 day, 7 days and 30 days in the User searches screen. If you want to adjust these numbers, these filter hooks can be used to adjust the number of days to display.

To make the User searches page display the searches for past week, month and year, you can do:

add_filter( 'relevanssi_1day', function() { return 7; } );
add_filter( 'relevanssi_7days', function() { return 30; } );
add_filter( 'relevanssi_30days', function() { return 365; } );