apply_filters( 'llms_focus_mode_post_types', string[] $post_types )
Post types that can use the focus mode template when focus mode is enabled.
Description Description
Add-ons (e.g. LifterLMS Assignments) can add their post types here and use the llms_is_focus_mode_enabled filter to return true when appropriate.
Parameters Parameters
- $post_types
-
(string[]) Post type names. Default: [ 'lesson', 'llms_quiz' ].
Source Source
Changelog Changelog
| Version | Description |
|---|---|
| 10.0.0 | Introduced. |