LLMS_Helper_Admin_Add_Ons::filter_get_current_section( string $section )
Change the default section from “All” to “Mine” but only if license keys have been saved
Parameters Parameters
- $section
-
(string) (Required) Section slug.
Return Return
(string)
Source Source
File: libraries/lifterlms-helper/includes/class-llms-helper-admin-add-ons.php
public function filter_get_current_section( $section ) { if ( 'all' === $section && empty( $_GET['section'] ) && $this->has_keys() ) { return 'mine'; } return $section; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |