apply_filters( "llms_in_rest_restricted_by_{$reason}_message", string $message , array $restriction )
Filters the restriction message.
Description Description
The dynamic portion of the hook name, $reason
, refers to the restriction reason.
Parameters Parameters
- $message
-
Restriction message.
- $restriction
-
Array of restriction info from
llms_page_restricted()
.
Source Source
File: includes/class.llms.template.loader.php
Changelog Changelog
Version | Description |
---|---|
3.41.1 | Introduced. |