LLMS_Student_Bulk_Enroll::generate_notice( string $type, string $message )

Generates admin notice markup

Parameters Parameters


(string) (Required) Type of notice 'error' or 'success'


(string) (Required) Notice message

Top ↑

Source Source

File: includes/admin/class.llms.student.bulk.enroll.php

	public function generate_notice( $type, $message ) {
		<div class="notice notice-<?php echo $type; ?> is-dismissible">
			<p><?php echo $message; ?></p>
		$notice                = ob_get_clean();
		$this->admin_notices[] = $notice;

Top ↑

Changelog Changelog

Version Description
3.20.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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