Closed eur2 closed 11 months ago
Hello,
The filters should look like the URL you get when using the basic widget filters.
For example, when filtering the agenda with the widgets you should get a url like this :
https://example.com/agenda/my-agenda?region=toto
So the $filters
variable in your hooked function should look like this :
$filters = array(
'region' => 'toto'
);
Hope that helps !
Hi, I need to filter an openagenda into different sections (based on their region value) on one page. The idea is to modify the the main event loop in event-loop.php:
I have created a filter into functions.php:
I can't make it working. Any doc about this? Thank you in advance