• Resolved Joey Fleck

    (@digitaleformate)


    First of all, we love WP Event Manager, but at the moment we are facing an issue with the exprie date. For every event we set e.g.

    Start date: 20.06.2023 Expire Date 20.06.2023. The events hsould expire at the end of the day, but since a few days ago (maybe because of an update) it’s always at the beginning of the day. Is there any solution? Otherwise we have to edit 200+ Events..

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wpemhelp

    (@wpemhelp)

    Hi,

    Thank you for reaching out to us with your issue.

    Thankfully, we have a solution to your problem.

    Please raise a support ticket using this link: https://wp-eventmanager.com/help-center/

    We’ll provide you with the necessary information to fix your problem.

    Thank You.

    Best regards.

    Plugin Author Rita Kikani

    (@kikanirita)

    Hi @digitaleformate ,

    Please add below filter in your theme functions.php file :

    add_filter(‘wpem_set_current_expire_time’, ‘get_current_date_time’, 10, 2);
    function get_current_date_time($expire_date, $event){
    //this will return your current date and time
    // pass your timezone string here
    date_default_timezone_set(‘America/Los_Angeles’);
    return date(“Y-m-d H:i:s”);
    }

    here you need to pass your timezone in place of “America/Los_Angeles” . We hope that your issue will be resolve, if not then please contact to support team.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Event expires to early’ is closed to new replies.