apply_filters( 'llms_product_has_restrictions', bool $has_restrictions , string[] $restrictions , LLMS_Product $product )
Filter whether the product has any purchase restrictions
Description Description
Parameters Parameters
- $has_restrictions
-
Whether the product
$product
has restrictions. - $restrictions
-
Array of restrictions placed on the product.
- $product
-
The LLMS_Product object.
Source Source
File: includes/models/model.llms.product.php
Changelog Changelog
Version | Description |
---|---|
3.38.0 | Introduced. |