LLMS_Helper_Admin_Add_Ons::output_navigation_items( string $current_section )
Output additional navigation items
Parameters Parameters
- $current_section
-
(string) (Required) Current section slug.
Return Return
(void)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-admin-add-ons.php
*/ public function output_navigation_items( $current_section ) { if ( ! $this->has_keys() ) { return; } ?> <li class="llms-nav-item<?php echo ( 'mine' === $current_section ) ? ' llms-active' : ''; ?>"> <a class="llms-nav-link" href="<?php echo esc_url( admin_url( 'admin.php?page=llms-add-ons§ion=mine' ) ); ?>"><?php _e( 'My Add-Ons', 'lifterlms' ); ?></a> </li> <?php
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Use core textdomain. |
3.0.0 | Introduced. |