do_action( "{$page_restricted[‘reason’]}”}", array $page_restricted )
Action triggered when content is restricted for the specified reason.
Description Description
The dynamic portion of this hook, {$page_restricted['reason']}
refers to the restriction reason code generated by llms_page_restricted()
.
See also See also
- llms_content_restricted: A generic hook triggered at the same time.
Parameters Parameters
- $page_restricted
-
(array) Restriction information from
llms_page_restricted()
.