WordPress.org

Forums

How to give time limit to wordpress menu? (4 posts)

  1. vipul.infotrans
    Member
    Posted 2 years ago #

    How to give time limit to wordpress menu?
    If user add menu to my wordpress demo site, it should delete automatically within 2days and should show default HOME menu link.
    Can any one help me....

  2. s_ha_dum
    Member
    Posted 2 years ago #

  3. vipul.infotrans
    Member
    Posted 2 years ago #

    I don't fully understand what this is about. How to use for menu & where to use?
    Can any one help me.

  4. s_ha_dum
    Member
    Posted 2 years ago #

    wp_cron executes code on a (pseudo) clock schedule, which is pretty close to what you want. You can use it to periodically delete your user created menus.

Topic Closed

This topic has been closed to new replies.

About this Topic