apply_filters( 'llms_is_focus_mode_enabled', bool $result , int $post_id )
Filters whether focus mode is enabled for a given post.
Description Description
Used by add-ons (e.g. LifterLMS Assignments) to enable focus mode for their post types when focus mode is enabled globally and/or for the course.
Parameters Parameters
- $result
-
(bool) Whether focus mode is enabled.
- $post_id
-
(int) The post ID.
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 10.0.0 | Introduced. |