Title: Undefined Method get_single_price_html()
Last modified: November 3, 2016

---

# Undefined Method get_single_price_html()

 *  Resolved [SEOplay](https://wordpress.org/support/users/seoplay/)
 * (@seoplay)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-method-get_single_price_html/)
 * 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)

 *  [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * (@thomasplevy)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-method-get_single_price_html/#post-8397662)
 * [@seoplay](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/lifterlms/assets/icon.svg?rev=2034507)
 * [LifterLMS - WP LMS for eLearning, Online Courses, & Quizzes](https://wordpress.org/plugins/lifterlms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lifterlms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lifterlms/)
 * [Active Topics](https://wordpress.org/support/plugin/lifterlms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lifterlms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lifterlms/reviews/)

## Tags

 * [3.0](https://wordpress.org/support/topic-tag/3-0/)
 * [single price](https://wordpress.org/support/topic-tag/single-price/)

 * 1 reply
 * 2 participants
 * Last reply from: [Thomas Patrick Levy](https://wordpress.org/support/users/thomasplevy/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/undefined-method-get_single_price_html/#post-8397662)
 * Status: resolved