Output HTML for the current screen

Return Return


Top ↑

Source Source

File: includes/admin/class.llms.admin.addons.php

	public function output() {

		if ( is_wp_error( $this->get_data() ) ) {
			_e( 'There was an error retrieving add-ons. Please try again.', 'lifterlms' );
		<div class="wrap lifterlms lifterlms-settings lifterlms-addons">

			<h1 class="wp-heading-inline"><?php _e( 'LifterLMS Add-Ons, Courses, and Resources', 'lifterlms' ); ?></h1>
			<?php do_action( 'llms_addons_page_after_title' ); ?>
			<hr class="wp-header-end">

			<?php $this->output_navigation(); ?>
			<form action="" method="POST">

				<?php $this->output_content(); ?>

				<?php wp_nonce_field( 'llms_manage_addon', '_llms_manage_addon_nonce' ); ?>

				<div class="llms-addons-bulk-actions" id="llms-addons-bulk-actions">

					<a class="llms-bulk-close" href="#">
						<span class="screen-reader-text"><?php _e( 'Close', 'lifterlms' ); ?></span>
						<i class="fa fa-times-circle" aria-hidden="true"></i>

					<div class="llms-bulk-desc update">
						<i class="fa fa-cloud-download" aria-hidden="true"></i>
						<?php _e( 'Update', 'lifterlms' ); ?> <span></span>

					<div class="llms-bulk-desc install">
						<i class="fa fa-cloud-download" aria-hidden="true"></i>
						<?php _e( 'Install', 'lifterlms' ); ?> <span></span>

					<div class="llms-bulk-desc activate">
						<i class="fa fa-plug" aria-hidden="true"></i>
						<?php _e( 'Activate', 'lifterlms' ); ?> <span></span>

					<div class="llms-bulk-desc deactivate">
						<i class="fa fa-plug" aria-hidden="true"></i>
						<?php _e( 'Deactivate', 'lifterlms' ); ?> <span></span>

					<button class="llms-button-primary" name="llms_bulk_actions_submit" value="" type="submit"><?php _e( 'Apply', 'lifterlms' ); ?></button>


Top ↑

Changelog Changelog

Version Description
4.10.1 Use hr.wp-header-end in favor of a second (hidden) <h1> to "catch" admin notices.
3.28.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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