LLMS_Analytics_Page::output_sections()
Output analytics sections as tabs and set post href
Description Description
Return Return
(array)
Source Source
File: includes/admin/analytics/class.llms.analytics.page.php
public function output_sections() { global $current_section; $sections = $this->get_sections(); if ( empty( $sections ) ) { return; } echo '<ul>'; $array_keys = array_keys( $sections ); foreach ( $sections as $id => $label ) { echo '<li><a href="' . admin_url( 'admin.php?page=' . $this->id . '§ion=' . sanitize_title( $id ) ) . '"class="' . ($current_section == $id ? 'current' : '' ) . '">' . ( end( $array_keys ) == $id ? '' : '|' ) . '</li>'; echo '</ul><br class="clear" />'; } }
Expand full source code Collapse full source code View on GitHub