{"_id":"56d88886b159f10b0030462c","parentDoc":null,"project":"549a321bf876ae0b00f33623","user":"549a320d5b50c21400fae689","version":{"_id":"56d88884b159f10b00304609","__v":3,"project":"549a321bf876ae0b00f33623","createdAt":"2016-03-03T18:55:00.567Z","releaseDate":"2016-03-03T18:55:00.567Z","categories":["56d88885b159f10b0030460a","56d88885b159f10b0030460b","56d88885b159f10b0030460c","56d88885b159f10b0030460d","56d88885b159f10b0030460e","56d88885b159f10b0030460f","56d88885b159f10b00304610","56d88885b159f10b00304611","56d88885b159f10b00304612","56d88885b159f10b00304613","56d88885b159f10b00304614","56d89250b159f10b003046d4","56da13977222d50b0070167c"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.2.1","version":"2.2.1"},"__v":0,"category":{"_id":"56d88885b159f10b00304613","pages":["56d88886b159f10b0030461c","56d88886b159f10b0030461d","56d88886b159f10b0030461e","56d88886b159f10b0030461f","56d88886b159f10b00304620","56d88886b159f10b00304621","56d88886b159f10b00304622","56d88886b159f10b00304623","56d88886b159f10b00304624","56d88886b159f10b00304625","56d88886b159f10b00304626","56d88886b159f10b00304627","56d88886b159f10b00304628","56d88886b159f10b00304629","56d88886b159f10b0030462a","56d88886b159f10b0030462b","56d88886b159f10b0030462c","56d88886b159f10b0030462d","56d88886b159f10b0030462e","56d88886b159f10b0030462f","56d88886b159f10b00304630","56d88886b159f10b00304631"],"project":"549a321bf876ae0b00f33623","__v":1,"version":"56d88884b159f10b00304609","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-05-20T00:49:50.639Z","from_sync":false,"order":10,"slug":"developer-api","title":"Filters Reference"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-05-20T03:34:09.336Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"auth":"required","params":[],"url":""},"isReference":false,"order":16,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_get_price\"\n}\n[/block]\nFiltered applied when returning the product price.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_get_price', $this->price, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_product_get_payment_options\"\n}\n[/block]\nFilter applied before returning product payment options.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_product_get_payment_options', $options);\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_recurring_price_html\"\n}\n[/block]\nFilter applied before returning recurring price html.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_recurring_price_html', $price, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_get_price_html\"\n}\n[/block]\nFilter applied before returning the product price.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_get_price_html', $price, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_sale_price_html\"\n}\n[/block]\nFilter applied before returning the product sale price.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_sale_price_html', $price, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_get_price\"\n}\n[/block]\nFilter applied before getting the product price.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_get_price', $this->price, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_get_single_price\"\n}\n[/block]\nFilter applied before getting the product single price.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_get_single_price', $this->price, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_get_recurring_first_price\"\n}\n[/block]\nFilter applied before getting the first payment of a recurring payment option.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_get_recurring_first_price', $this->adjusted_price($this->llms_subscription_first_payment), $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"lifterlms_get_price_suffix_html\"\n}\n[/block]\nFilter applied before getting the suffix of the product price.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"apply_filters( 'lifterlms_get_price_suffix_html', $price_display_suffix, $this );\",\n      \"language\": \"php\"\n    }\n  ]\n}\n[/block]","excerpt":"In regards to the checkout process Courses and Memberships are referred to as Products","slug":"filters-product","type":"basic","title":"Filters: Product"}

Filters: Product

In regards to the checkout process Courses and Memberships are referred to as Products

[block:api-header] { "type": "basic", "title": "lifterlms_get_price" } [/block] Filtered applied when returning the product price. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_get_price', $this->price, $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_product_get_payment_options" } [/block] Filter applied before returning product payment options. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_product_get_payment_options', $options);", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_recurring_price_html" } [/block] Filter applied before returning recurring price html. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_recurring_price_html', $price, $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_get_price_html" } [/block] Filter applied before returning the product price. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_get_price_html', $price, $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_sale_price_html" } [/block] Filter applied before returning the product sale price. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_sale_price_html', $price, $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_get_price" } [/block] Filter applied before getting the product price. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_get_price', $this->price, $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_get_single_price" } [/block] Filter applied before getting the product single price. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_get_single_price', $this->price, $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_get_recurring_first_price" } [/block] Filter applied before getting the first payment of a recurring payment option. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_get_recurring_first_price', $this->adjusted_price($this->llms_subscription_first_payment), $this );", "language": "php" } ] } [/block] [block:api-header] { "type": "basic", "title": "lifterlms_get_price_suffix_html" } [/block] Filter applied before getting the suffix of the product price. [block:code] { "codes": [ { "code": "apply_filters( 'lifterlms_get_price_suffix_html', $price_display_suffix, $this );", "language": "php" } ] } [/block]