Browse: Home / Hooks /

learndash_ld30_modern_topic_show_header

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 #

File: src/Core/Themes/LD30/Modern/Topic/Template.php


Changelog #

Changelog
Version Description
4.24.0 Introduced.