Cyprus Pharmacies
Show all-night today and tomorrow pharmacies of Cyprus
Use with caution
Cyprus Pharmacies works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.2 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Cyprus Pharmacies stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cyprus | #7 |
| greek | >100 |
| night | >100 |
| pharmacies | #11 |
| pharmacy | #16 |
About Cyprus Pharmacies
From the official readme · v1.3.0Description
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 toPaphos)title: Choose a custom title to use (defaults tofalse)
Data source
By default the pharmacies are loaded from the National Opendata Portal of Cyprus (data.gov.cy). Under Settings → Cyprus Pharmacies an administrator can switch to a custom API, entering its URL, a Client ID and a Client Secret. If that API fails for any reason, data.gov.cy is used for that request. The “Test connection” button checks the saved data source.
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_durationfilter to modify cache duration - Cache Management: Programmatic cache clearing with
clear_cache()method - Extensible: Easy to extend with additional caching features
Customizing Cache Duration
You can customize the cache duration by adding the following code to your theme’s functions.php file:
Set cache to 24 hours:
add_filter( 'cypharm_cache_duration', function() {
return 86400; // 24 hours in seconds
});
Set cache to 1 hour:
add_filter( 'cypharm_cache_duration', function() {
return 3600; // 1 hour in seconds
});
Set cache to 30 minutes:
add_filter( 'cypharm_cache_duration', function() {
return 1800; // 30 minutes in seconds
});
Disable caching (not recommended for production):
add_filter( 'cypharm_cache_duration', function() {
return 0; // No caching
});
Using a named function (recommended):
function my_custom_cypharm_cache_duration() {
return 7200; // 2 hours in seconds
}
add_filter( 'cypharm_cache_duration', 'my_custom_cypharm_cache_duration' );
Credits
External services
This plugin connects to external services to get the list of on-duty (all-night) pharmacies. It does not work without them. data.gov.cy is always used by default; a custom API is used only if an administrator configures it.
National Opendata Portal of Cyprus (data.gov.cy)
The plugin requests the on-duty pharmacies schedule from the public API of the National Opendata Portal of the Republic of Cyprus.
- When: whenever a page containing the
[cypharm]shortcode is rendered and the requested city and day (today or tomorrow) are not in the plugin’s cache. Requests are made by your server, not by your visitors’ browsers. - What is sent: the city’s dataset ID and the requested date. As with any HTTP request made by WordPress, the request includes a User-Agent header with your WordPress version and your site’s URL, and your server’s IP address is visible to the service.
- Provider: Republic of Cyprus, National Opendata Portal. Disclaimer / terms of use, Privacy policy.
- It is also used as a fallback whenever the optional custom API (below) fails.
Custom API (optional, off by default)
An alternative API that serves the same schedule. It is used only if an administrator selects “Custom API” under Settings → Cyprus Pharmacies and saves its URL, a Client ID and a Client Secret. The plugin does not include any default API URL or credentials; the service, its URL and the credentials are provided by its operator, and that operator’s terms of service and privacy policy apply.
- When: whenever a page containing the
[cypharm]shortcode is rendered and the requested city and day are not in the plugin’s cache, and when an administrator clicks “Test connection”. Requests are made by your server, not by your visitors’ browsers. - What is sent: the city name and the requested date; the Client ID and Client Secret, as HTTP headers used for authentication; a User-Agent header with your WordPress version and your site’s URL. Your server’s IP address is visible to the service. No information about your visitors is sent.
Changelog
1.3.0
- Fix: Today/tomorrow are now calculated in Cyprus time (Asia/Nicosia); between midnight and 02:00/03:00 the previous day used to be shown, and the day headings could disagree with the listed pharmacies.
- Fix: Empty results (e.g. a schedule that is not published yet) are no longer cached for 12 hours.
- Fix: Returning 0 from the
cypharm_cache_durationfilter now really disables caching (it used to cache forever). - Fix: The day headings were never closed (
<h3>instead of</h3>). - Fix: No PHP warnings when a record lacks a field; map links behave the same for today and tomorrow.
- Fix: “Clear Cache” now also works with a persistent object cache (Redis, Memcached).
- Fix: The
cypharm_coordinatesfilter can now be used from a theme’s functions.php. - Tweak: data.gov.cy requests time out after 8 seconds (was 15), ask for up to 50 records, and are logged only when
WP_DEBUG_LOGis enabled. - Tweak: Map links use HTTPS; translatable day heading format; escaping hardening; direct file access guards.
- DEV: Removed unused code (
CyPharm_Data::cypharms(), thecypharm_pharmaciesfilter, unused properties). - DEV:
CyPharm_Data::$dateis now aY-m-ddate. - Readme: Added an “External services” section.
- Requirement: PHP 8.2 or newer (was 7.4).
- New: Optional custom API data source with Client ID/Secret, under Settings → Cyprus Pharmacies (Source dropdown; the API fields appear only when “Custom API” is selected). data.gov.cy remains the default and is used as a fallback on any API failure.
- New: “Test connection” button for the saved data source (data.gov.cy or the custom API).
- New:
uninstall.phpremoves the plugin’s options and cached data. - New: When the data source provides
latitude/longitudefor a pharmacy (e.g. a custom API), the address links to that point on Google Maps, in every city. The bundled Paphos coordinates (and thecypharm_coordinatesfilter) are used when a record has no coordinates.
1.2.9
- Tested up to WordPress 7.1
- DEV: Codebase brought in line with WordPress Coding Standards; no functional changes
1.2.8
- UX: Added “Settings” link to plugin action links for easy access
- UX: Improved admin interface with better code examples
1.2.7
- Performance: Added intelligent caching system to reduce API calls
- Performance: Cache pharmacy data for 12 hours to improve page load times
- Admin: Added cache management interface in Settings
- Developer: Added filter hook to customize cache duration
- Developer: Added cache clearing functionality for plugin activation/deactivation
- Security: Maintained all previous security improvements
1.2.6
- Security: Fixed XSS vulnerabilities by properly escaping all user data from external APIs
- Security: Added input validation for shortcode parameters to prevent invalid city values
- Security: Improved error handling for API responses with proper JSON validation
- Security: Added SSL verification to prevent man-in-the-middle attacks
- Security: Added proper user-agent headers for API requests
- Security: Enhanced error logging for debugging API issues
1.2.5
- Fix: data.gov schema was changed.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Cyprus Pharmacies alternatives
All cyprus plugins →FAQ
Cyprus Pharmacies: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Cyprus Pharmacies free?
Yes. Cyprus Pharmacies is free to download and use from the official WordPress.org plugin directory.
Is Cyprus Pharmacies safe to use in 2026?
Cyprus Pharmacies works, but test it on a staging site before relying on it in 2026. Was last updated 1 month ago, and scores 60/100 on our health check.
How many websites use Cyprus Pharmacies?
Cyprus Pharmacies is active on <10 WordPress websites and has been downloaded 4,993 times since it launched in January 2022. It was downloaded 224 times in the last 30 days.
Does Cyprus Pharmacies work with WordPress 7.1?
Yes. The developer has tested Cyprus Pharmacies up to WordPress 7.1.5, the latest release. It requires WordPress 5.3 or newer.
What PHP version does Cyprus Pharmacies need?
Cyprus Pharmacies requires PHP 8.2 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Cyprus Pharmacies last updated?
The latest version, 1.3.0, was released on November 1, 2026 (1 month ago).
Who makes Cyprus Pharmacies?
Cyprus Pharmacies is developed and maintained by Savvas.
What are the best alternatives to Cyprus Pharmacies?
The most popular alternatives to Cyprus Pharmacies are JCC Payment Gateway for Woo… (600+ installs), Kronos Express Shipping for… (10+ installs) and Municipal Boundaries (<10 installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card

