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.


Top ↑

Source Source

File: includes/models/model.llms.product.php

View on GitHub



Top ↑

User Contributed Notes User Contributed Notes

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