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.
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.