LLMS_Settings_General::get_small_banners()

Get advert banner html


Description Description


Return Return

(string)


Top ↑

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 '&nbsp;&nbsp;&nbsp;<a class="llms-button-primary small" href="' . $url . '">' . __( 'View More &rarr;', 'lifterlms' ) . '</a><br>';
		$view->output_for_settings();
		return ob_get_clean();

	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.