WordPress plugin intelligence profile

Cyprus Pharmacies

Show all-night today and tomorrow pharmacies of Cyprus

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.3.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.3 · PHP 8.2
Directory statusactive
Last directory update1 Nov 20268h ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Cyprus Pharmacies version 1.3.0 as active, updated 8h ago and tested up to WordPress 7.1.

Overview

About this plugin

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 )

Data source

cy). Under Settings → Cyprus Pharmacies an administrator can switch to a custom API, entering its URL, a Client ID and a Client Secret. 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_duration filter to modify cache duration
  • Cache Management: Programmatic cache clearing with clear_cache() method
  • Extensible: Easy to extend with additional caching features

Customizing Cache Duration

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

  • National Opendata Portal

External services

This plugin connects to external services to get the list of on-duty (all-night) pharmacies. It does not work without them. cy is always used by default; a custom API is used only if an administrator configures it.

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.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • cyprus
  • greek
  • night
  • pharmacies
  • pharmacy
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.3 · PHP 8.2
Update activity1 Nov 20268h ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.2.91.3.0
WordPress compatibility7.1.27.1.4
PHP requirement7.48.2
Version1.2.81.2.9
WordPress compatibility7.0.47.1.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.