• Resolved SEOplay

    (@seoplay)


    I’m using this below a title:
    echo apply_filters( 'lifterlms_single_payment_text', $llms_product->get_single_price_html(), $llms_product );

    Since upgrading to 3.0 I’m getting a “Call to undefined method LLMS_Product::get_single_price_html()”

    This function worked before the upgrade, I was using it to just display the single cost on a custom course single template.

    I read in the change log that:
    Removed filter lifterlms_get_price_html, use lifterlms_get_single_price_html instead.

    Wonder if this has something to do with the change.

Viewing 1 replies (of 1 total)
  • @seoplay,

    The function in question has been deprecated and removed from LifterLMS 3.0

    It doesn’t have an exact replacement either because products can now have up to 6 different prices based on the associated access plans.

    I’d recommend removing this customization, checking out the new access plans, and seeing if you still need a customization.

    If you do, please let me know and I can direct you towards new code.

    Take care,

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined Method get_single_price_html()’ is closed to new replies.