Home Forums Plugins WooCommerce Photo Reviews {last_valid_date} not working

{last_valid_date} not working

  • Author
    Posts
  • #150724

    Mike P
    Participant

    Hello,

    I’ve been using old version with below custom code before there was {last_valid_date},

    $content = str_replace( ‘{date_expires}’, empty( $date_expires ) ? esc_html__( ‘never expires’, ‘woocommerce-photo-reviews’ ) : date_i18n( VI_WOOCOMMERCE_PHOTO_REVIEWS_DATA::get_date_format(), strtotime(‘-1 day’,strtotime( $date_expires )) ), $content );

    Now I bought another license of your plugin for another site and installed the newest version with no custom code.

    But {last_valid_date} does not seem to work. It just shows today’s date regardless what I set in Time To Live.

    Could you please recheck if {last_valid_date} works correctly?

    Thank you.

You must be logged in to see replies to this topic. Click here to login or register