Renew mail list

  • Author
  • juan

    Hi Ihor

    The Hive Press its awsome. i have a question.

    When the list expires, the mail is being sent in automatic to request the user to renew, my question is how can I change the times that the mail should be sent.

    since it is currently being sent every hour and I think it is a bit annoying.

    I plan to send it 1 time every 5 days

    Thanks a lot.


    Thanks! It seems to be a bug, there should be single expiration email per listing. This will be fixed in the next version, meanwhile you can use this temporary fix:

    remove_action( 'hivepress/v1/events/hourly', [ hivepress()->listing, 'expire_listings' ] );
    add_action( 'hivepress/v1/events/daily', [ hivepress()->listing, 'expire_listings' ] );

    Excelent Ihor thanks alot


    Hi Ihor, sorry where should I put the code


    Please try using this plugin for managing custom PHP snippets (or add it to the child theme’s functions.php file if you use one).

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.


Sign In

Don't have an account? Register

Forgot password?


Already have an account? Sign In

Forgot password?

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.