Core::coursesSubMenus()

Get the courses tab’s sub menu items in group

Description

Source

File: bp-integrations/learndash/buddypress/Core.php

	public function coursesSubMenus()
    {
    	return wp_list_sort(apply_filters('bp_ld_sync/courses_group_tab_subnavs', [
    		'courses' => [
				'name'     => __('Courses', 'buddyboss'),
				'slug'     => '',
				'position' => 10
    		],
    	]), 'position', 'ASC', true);
    }

Changelog

Changelog
Version Description
BuddyBoss 1.0.0 Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.