entry_endpoints: use variadic arguments to build up the query
entry_endpoints: implement before and after filters