Title: Menu Expiration Control
Author: Raihan Reza
Published: <strong>29 Deireadh Fómhair, 2024</strong>
Last modified: 16 Nollaig, 2025

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/menu-expiration-control.svg)

# Menu Expiration Control

 By [Raihan Reza](https://profiles.wordpress.org/raihanreza/)

[Download](https://downloads.wordpress.org/plugin/menu-expiration-control.1.2.zip)

 * [Details](https://ga.wordpress.org/plugins/menu-expiration-control/#description)
 * [Reviews](https://ga.wordpress.org/plugins/menu-expiration-control/#reviews)
 *  [Installation](https://ga.wordpress.org/plugins/menu-expiration-control/#installation)
 * [Development](https://ga.wordpress.org/plugins/menu-expiration-control/#developers)

 [Support](https://wordpress.org/support/plugin/menu-expiration-control/)

## Description

The Menu Expiration Control plugin adds start and expiration dates along with precise
time control to WordPress menu items, allowing you to control exactly when each 
menu item is displayed. This feature is useful for temporary promotions, seasonal
menus, flash sales, limited-time offers, or any situation where menu items should
only be visible for a specific period.

**Key Features:**

 * **Date Control**: Set start and stop dates for menu items
 * **Time Control**: Specify exact hours and minutes (12-hour format with AM/PM)
 * **jQuery UI Datepicker**: Easy-to-use calendar interface for date selection
 * **Dropdown Selectors**: User-friendly hour and minute dropdowns for precise time
   setting
 * **Automatic Visibility**: Menu items automatically appear and disappear based
   on your schedule
 * **Flexible Scheduling**: Set only dates, only times, or both – plugin adapts 
   to your needs
 * **WordPress 6.9 Compatible**: Fully tested and compatible with the latest WordPress
   version

**Perfect For:**

 * Limited-time promotional menu items
 * Seasonal navigation links
 * Event-specific menus
 * Flash sale announcements
 * Temporary campaign links
 * Holiday specials
 * Time-sensitive content navigation

### Support

If you encounter any issues or have questions, please contact us at [https://elvirainfotech.
com/contact-us/].

You can also visit our website for more information and support resources.

### Technical Details

**File Structure:**
 `menu-expiration-control/ ├── menu-expiration-control.php (
Main plugin file) └── assets/ └── jquery-ui.css (Datepicker styling)

**Hooks Used:**
 * `wp_nav_menu_item_custom_fields` – Adds custom fields to menu
items * `wp_update_nav_menu_item` – Saves custom field data * `wp_nav_menu_objects`–
Filters menu items based on date/time * `admin_enqueue_scripts` – Loads datepicker
assets

**Browser Compatibility:**
 * Chrome/Edge (latest) * Firefox (latest) * Safari (
latest) * Mobile browsers supported

### Privacy Policy

This plugin does not collect, store, or transmit any user data. All date and time
settings are stored locally in your WordPress database as post metadata.

### License

This plugin is licensed under the GPLv2 or later license.

## Installation

 1. Upload the `menu-expiration-control` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to ‘Appearance’ > ‘Menus’ in the WordPress admin area.
 4. For each menu item, you’ll now see:
 5.  * Menu Start Date field with datepicker
     * Menu Start Time with hour, minute, and AM/PM dropdowns
     * Menu Stop Date field with datepicker
     * Menu Stop Time with hour, minute, and AM/PM dropdowns
 6. Set your desired dates and times, then save the menu.

## FAQ

### How do I set a menu item to appear only on specific dates?

Simply edit your menu item and fill in the “Menu Start Date” and “Menu Stop Date”
fields. The menu item will only be visible between these dates.

### Can I set specific times for menu visibility?

Yes! Version 1.2 adds time control. You can now set exact hours and minutes using
the dropdown selectors along with AM/PM selection.

### What happens if I only set a start date without a stop date?

The menu item will appear starting from the start date and remain visible indefinitely
until you set a stop date.

### What if I only set times without dates?

If you set times without dates, the plugin will ignore the time settings. Dates 
are required for the scheduling to work.

### What time zone does the plugin use?

The plugin uses your WordPress site’s timezone setting (Settings > General > Timezone).

### Do I need to set both date and time?

No, you can set just dates if you prefer. If you don’t set times:
 – Start dates
begin at 00:00:00 (midnight) – Stop dates end at 23:59:59 (end of day)

### Can I use this for temporary promotional links?

Absolutely! This is one of the primary use cases. Set your promo link to appear 
during your sale period and it will automatically disappear when the promotion ends.

### Will this work with custom menu themes?

Yes, the plugin works with any WordPress menu system as it filters the menu items
at the core WordPress level.

## Reviews

![](https://secure.gravatar.com/avatar/ac158db72707ee362d09b0ea0b401c7cbd8734f13d59f7739e3fbbf48c21adc9?
s=60&d=retro&r=g)

### 󠀁[Perfect for Time-Sensitive Menus – Simple and Reliable](https://wordpress.org/support/topic/perfect-for-time-sensitive-menus-simple-and-reliable-2/)󠁿

 [asifc](https://profiles.wordpress.org/asifc/) 10 Deireadh Fómhair, 2025

This plugin has made managing my WordPress menus so much easier! I can schedule 
items to appear and disappear automatically, which is perfect for limited-time offers
and seasonal updates. It’s intuitive, works seamlessly, and saves me a ton of manual
work. Highly recommend for anyone who wants more control over their menus.

![](https://secure.gravatar.com/avatar/88d5aed0801a6bc96becd2346fccda3608899c4f9919d610127d8d5b5038451f?
s=60&d=retro&r=g)

### 󠀁[Easily Schedule and Manage Menu Items with Menu Expiration Control](https://wordpress.org/support/topic/easily-schedule-and-manage-menu-items-with-menu-expiration-control-2/)󠁿

 [preetam1](https://profiles.wordpress.org/preetam1/) 10 Deireadh Fómhair, 2025

I love how Menu Expiration Control lets me schedule menu items—perfect for promotions
or seasonal content. Super easy to use and saves me from constantly updating menus.
Would be even better with a heads-up before items expire, but overall, it does exactly
what it promises.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/menu-expiration-control/reviews/)

## Contributors & Developers

“Menu Expiration Control” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Raihan Reza ](https://profiles.wordpress.org/raihanreza/)
 *   [ Raihan Reza ](https://profiles.wordpress.org/raihan-reza/)

[Translate “Menu Expiration Control” into your language.](https://translate.wordpress.org/projects/wp-plugins/menu-expiration-control)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/menu-expiration-control/),
check out the [SVN repository](https://plugins.svn.wordpress.org/menu-expiration-control/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/menu-expiration-control/)
by [RSS](https://plugins.trac.wordpress.org/log/menu-expiration-control/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.2

 * Added: jQuery UI Datepicker for easy date selection
 * Added: Time control with hour and minute dropdown selectors
 * Added: 12-hour time format with AM/PM selection
 * Added: Precise scheduling – control menu visibility down to the minute
 * Updated: “Tested up to” value to 6.9 (latest WordPress version)
 * Updated: Improved date/time filtering logic for better accuracy
 * Updated: Better handling of edge cases (midnight, noon, minute 00)
 * Fixed: Label correction – “Menu Stop Date” instead of duplicate “Menu Start Date”
 * Fixed: Dropdown values now persist correctly after saving
 * Fixed: Minute “00” now saves and displays properly
 * Improved: Security with capability checks (edit_theme_options)
 * Improved: Code quality and WordPress coding standards compliance
 * Improved: User interface with intuitive dropdown selectors
 * Added: PHP 7.0 minimum requirement specification

#### 1.1

 * Updated “Tested up to” value to 6.6.
 * Improved security by adding nonce verification for form submissions.

#### 1.0

 * Initial release.

## Meta

 *  Version **1.2**
 *  Last updated **4 mhí ago**
 *  Active installations **30+**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **6.9.4**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/menu-expiration-control/)
 * Tags
 * [datepicker](https://ga.wordpress.org/plugins/tags/datepicker/)[expiration](https://ga.wordpress.org/plugins/tags/expiration/)
   [menu](https://ga.wordpress.org/plugins/tags/menu/)[time control](https://ga.wordpress.org/plugins/tags/time-control/)
 *  [Advanced View](https://ga.wordpress.org/plugins/menu-expiration-control/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  2 5-star reviews     ](https://wordpress.org/support/plugin/menu-expiration-control/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/menu-expiration-control/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/menu-expiration-control/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/menu-expiration-control/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/menu-expiration-control/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/menu-expiration-control/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/menu-expiration-control/reviews/)

## Contributors

 *   [ Raihan Reza ](https://profiles.wordpress.org/raihanreza/)
 *   [ Raihan Reza ](https://profiles.wordpress.org/raihan-reza/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/menu-expiration-control/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://elvirainfotech.com)