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
-
(string) Restriction message.
- $restriction
-
(array) Array of restriction info from
llms_page_restricted()
.
Source Source
Changelog Changelog
Version | Description |
---|---|
3.41.1 | Introduced. |