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.
Return Return
(WP_Error) Returns the same error passed into the object.
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; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.8.0 | Introduced. |