An easy way to show the all-night today and tomorrow pharmacies of Cyprus per city (Nicosia, Limassol, Larnaca, Paralimni, Paphos).
A simple example
[cypharm show_title=false]
More Options
The plugin supports the following optional parameters:
city
: select the Cyprus city between Nicosia, Limassol, Larnaca, Paralimni and Paphos (defaults to Paphos
)
title
: Choose a custom title to use (defaults to false
)
Performance Features
- Caching: API responses are cached for 12 hours to improve performance and reduce API calls
- Cache Management: Admin interface to clear cache when needed
- Smart Loading: Only makes API calls when cached data is expired or doesn't exist
Developer Features
- Customizable Cache Duration: Use the
cypharm_cache_duration
filter to modify cache duration
- Cache Management: Programmatic cache clearing with
clear_cache()
method
- Extensible: Easy to extend with additional caching features