Renew mail list

  • Author
    Posts
  • 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.

    ihordeveloper

    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' ] );
    juan

    Excelent Ihor thanks alot

    juan

    Hi Ihor, sorry where should I put the code

    ihordeveloper

    Please try using this plugin for managing custom PHP snippets https://wordpress.org/plugins/code-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.

Subscribe

Sign In

Don't have an account? Register

Forgot password?

Register

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.