apply_filters( 'learndash_ld30_modern_topic_show_header', bool $show_header, LearnDashCoreTemplateViewsTopic $view, WP_User $user, LearnDashCoreModelsTopic $topic, LearnDashCoreThemesLD30ModernTopicarray<string, )
Filters whether the topic header should be shown on the topic page.
Description #
Parameters #
- $show_header
-
(bool) Whether the lesson header should be shown. Default is false when Breadcrumbs, the Progress Bar, and Alerts are not visible.
- $view
-
(LearnDashCoreTemplateViewsTopic) The topic view.
- $user
-
(WP_User) The user object.
- $topic
-
(LearnDashCoreModelsTopic) The topic model object.
-
(<span class="LearnDashCoreThemesLD30ModernTopicarrayLearnDashCoreThemesLD30ModernTopicarray<string,) mixed> $context The view context array. Default is empty array.
Return #
(bool)
Source #
Changelog #
Version | Description |
---|---|
4.24.0 | Introduced. |