apply_filters( "llms_get_{$this->model_post_type}_{$key}_price", string $price, string $key, array $price_args, string $format, LLMS_Post_Model $llms_post )

Filters the price(s)


Description Description

The first dynamic portion of this hook, $this->model_post_type, refers to the model’s post type. For example "course", "lesson", "membership", etc… The second dynamic part of this hook, $key, refers to the price property name.


Top ↑

Parameters Parameters

$price

(string) The maybe formatted price.

$key

(string) The price property name.

$price_args

(array) Array of arguments that can be passed to llms_price().

$format

(string) Format conversion method.

$llms_post

(LLMS_Post_Model) The LLMS_Post_Model instance.


Top ↑

Source Source

File: includes/abstracts/abstract.llms.post.model.php

View on GitHub


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.