Browse: Home / Hooks /

learndash_template_views_course_tabs

apply_filters( 'learndash_template_views_course_tabs',  LearnDashCoreTemplateViewsarray<int, ,  string $view_slug,  LearnDashCoreTemplateViewsCourse $view,  LearnDashCoreModelsCourse $model )

Filters the course tabs.


Description #


Parameters #

(<span class="LearnDashCoreTemplateViewsarrayLearnDashCoreTemplateViewsarray<int,) array<string, array{id: string, icon: string, label: string, content: string, order?: int}>> $tabs The tabs.

$view_slug

(string) The view slug.

$view

(LearnDashCoreTemplateViewsCourse) The view object.

$model

(LearnDashCoreModelsCourse) The course model.


Return #

(LearnDashCoreTemplateViewsarray<int,) array<string, array{id: string, icon: string, label: string, content: string, order?: int}>>


Source #

File: src/Core/Template/Views/Course.php


Changelog #

Changelog
Version Description
4.21.0 Introduced.