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.


Top ↑

Parameters Parameters

$post_types

(string[]) Post type names. Default: [ 'lesson', 'llms_quiz' ].


Top ↑

Source Source

File: includes/functions/llms.functions.template.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
10.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.