Core::reportsSubMenus()

Get the reports tab’s sub menu items in group

Description

Source

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

	public function reportsSubMenus()
    {
    	return wp_list_sort(apply_filters('bp_ld_sync/reports_group_tab_subnavs', [
    		'reports' => [
				'name'     => __('Reports', '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.