LLMS_Admin_Reporting_Tab_Memberships::breadcrumbs()
Add breadcrumb links to the tab depending on current view.
Return Return
(void)
Source Source
File: includes/admin/reporting/tabs/class.llms.admin.reporting.tab.memberships.php
public function breadcrumbs() { $links = array(); // Single student. if ( isset( $_GET['membership_id'] ) ) { $membership = llms_get_post( absint( $_GET['membership_id'] ) ); $links[ LLMS_Admin_Reporting::get_stab_url( 'overview' ) ] = $membership->get( 'title' ); } foreach ( $links as $url => $title ) { echo '<a href="' . esc_url( $url ) . '">' . $title . '</a>'; } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.32.0 | Introduced. |