LLMS_Product::get_access_plans( bool $free_only = false, bool $visible_only = true )

Get all access plans for the product


Description Description


Parameters Parameters

$free_only

(Optional) Only include free access plans if true. Defalt false

Default value: false

$visible_only

(Optional) Excludes hidden access plans from results. Default true.

Default value: true


Top ↑

Return Return

(array)


Top ↑

Source Source

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


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.17 Fixed a typo in the post_status query arg when retrieving access plans for this product.
3.25.2 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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