LLMS_Settings_General::get_small_banners()
Get advert banner HTML.
Return Return
(string)
Source Source
File: includes/admin/settings/class.llms.settings.general.php
public static function get_small_banners() { $view = new LLMS_Admin_AddOns(); $url = esc_url( admin_url( 'admin.php?page=llms-add-ons' ) ); ob_start(); echo '<br>'; echo '<h3 style="display:inline;">' . __( 'Most Popular Add-ons, Courses, and Resources', 'lifterlms' ) . '</h3>'; echo ' <a class="llms-button-primary small" href="' . $url . '">' . __( 'View More →', 'lifterlms' ) . '</a><br>'; $view->output_for_settings(); return ob_get_clean(); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Removed loading of class files that don't instantiate their class in favor of autoloading. |
3.22.0 | Unknown. |
1.0.0 | Introduced. |