LLMS_Settings_General::get_small_banners()
Get advert banner html
Description Description
Return Return
(string)
Source Source
File: includes/admin/settings/class.llms.settings.general.php
public static function get_small_banners() { require_once LLMS_PLUGIN_DIR . 'includes/admin/class.llms.admin.addons.php'; $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 |
---|---|
1.0.0 | Introduced. |