LLMS_Admin_Import::upload_import()
Handle form submission
Description Description
Return Return
(boolean|WP_Error) false for nonce or permission errors, WP_Error when an error is encountered, true on success.
Source Source
File: includes/admin/class.llms.admin.import.php
Changelog Changelog
| Version | Description |
|---|---|
| 4.8.0 | Use helper methods show_error() and handle_generation(). |
| 3.37.3 | Don't unslash uploaded file tmp_name. |
| 3.36.3 | Fixed a typo where "$generator" was spelled "$generater". |
| 3.35.0 | Validate nonce and user permissions before processing import data. Moved statistic localization into its own function. Updated return signature. |
| 3.30.1 | Explicitly include template functions. |
| 3.3.0 | Introduced. |