do_action( 'lifterlms_content_restricted', array $page_restricted )
Generic action triggered when content is restricted.
Description Description
See also See also
- llms_content_restricted_by_{$page_restricted[‘reason’]}: A specific hook triggered by a specific restriction reason.
Parameters Parameters
- $page_restricted
-
(array) Restriction information from
llms_page_restricted()
.