apply_filters( 'llms_product_has_restrictions', bool $has_restrictions, string[] $restrictions, LLMS_Product $product )

Filter whether the product has any purchase restrictions.


Parameters Parameters

$has_restrictions

(bool) Whether the product $product has restrictions.

$restrictions

(string[]) Array of restrictions placed on the product.

$product

(LLMS_Product) The LLMS_Product object.


Top ↑

Source Source

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

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
3.38.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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