LLMS_Admin_Setup_Wizard::enqueue()

Enqueue static assets for the setup wizard screens


Return Return

(boolean)


Top ↑

Source Source

File: includes/admin/class.llms.admin.setup.wizard.php

	public function output_before_importable_course( array $course ): void {

		$id = absint( $course['id'] ?? null );
		?>
		<label>
		<div class="llms-switch">
			<input class="llms-toggle llms-toggle-round" id="llms-setup-import-course-<?php echo esc_attr( $id ); ?>" name="llms_setup_course_import_ids[]" value="<?php echo esc_attr( $id ); ?>" type="checkbox">
			<label for="llms-setup-import-course-<?php echo esc_attr( $id ); ?>"><span class="screen-reader-text"><?php esc_attr_e( 'Toggle to import course', 'lifterlms' ); ?>
			</label>
		</div>
		<?php


Top ↑

Changelog Changelog

Changelog
Version Description
4.8.0 Add return boolean based on enqueue return instead of void.
4.4.4 Use LLMS_Assets for asset registration and queuing.
3.17.8 Unknown.
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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