wpsl_hide_closed_hours

  1. Description
  2. Usage
  3. Changelog
  4. Source File

Description

This filter enables you to exclude the days that the location is closed from the opening hours list.

The default is set to false.

Usage

This example excludes the days that the location is closed from the opening hours list:

If the load locations on page load option is enabled, you need to clear the store locator transient cache to make sure the correct opening hours are shown.

Changelog

Since 2.2

Source File

This filter is located in /frontend/class-frontend.php.