public/wordpress/wp-content/plugins/wp-courseware/includes/admin/notices.php
/**
	 * Display all notices from previous page load.
	 *
	 * @since 4.3.0
	 */
Display all notices from previous page load.
Display all notices from previous page load .
public function display() {
		$notices = $this->get();
		if ( $notices && is_array( $notices ) ) {
			foreach ( $notices as $notice ) {
				if ( isset( $notice['message'], $notice['type'] ) ) {
					wpcw_admin_notice( $notice['message'], $notice['type'] );
				}
			}
			$this->delete();
		}
	}
public function display ( ) { $ notices = $ this -> get ( ) ; if ( $ notices && is_array ( $ notices ) ) { foreach ( $ notices as $ notice ) { if ( isset ( $ notice [ 'message' ] , $ notice [ 'type' ] ) ) { wpcw_admin_notice ( $ notice [ 'message' ] , $ notice [ 'type' ] ) ; } } $ this -> delete ( ) ; } }
Display all notices from previous page load.
Display all notices from previous page load .