LLMS_Admin_Import::show_error( WP_Error $error )

Output an admin notice from a WP_Error object


Parameters Parameters

$error

(WP_Error) (Required) WP_Error object.


Top ↑

Return Return

(WP_Error) Returns the same error passed into the object.


Top ↑

Source Source

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

	protected function show_error( $error ) {
		LLMS_Admin_Notices::flash_notice( $error->get_error_message(), 'error' );
		return $error;
	}


Top ↑

Changelog Changelog

Changelog
Version Description
4.8.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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