apply_filters( 'llms_check_access_plan_purchasable', true|WP_Error $can_purchase, LLMS_Access_Plan|null $plan, int|null $user_id )

Filters whether an access plan can be purchased during checkout.


Parameters Parameters

$can_purchase

(true|WP_Error) Whether the plan can be purchased. true if it can, a WP_Error otherwise.

$plan

(LLMS_Access_Plan|null) The access plan being purchased.

$user_id

(int|null) WP_User ID of the purchasing user, or null for the current user.


Top ↑

Source Source

File: includes/functions/llms.functions.order.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
10.0.8 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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