apply_filters( 'llms_get_product_access_plans', array $plans , LLMS_Product $product , bool $free_only , bool $visbile_only )
Filter the product’s access plans.
Parameters Parameters
- $plans
-
(array) An array of LLMS_Access_Plan instances related to the product
$product
. - $product
-
(LLMS_Product) The LLMS_Product instance.
- $free_only
-
(bool) Whether or not to include the free access plans only.
- $visbile_only
-
(bool) Whether or not to exclude the hidden access plans.