LLMS_Add_On::uninstall()
Verifies the add-on can be uninstalled, and performs the uninstall (permanently deleting its files)
Return Return
(string|WP_Error) Success message or an error object.
Source Source
File: includes/models/model.llms.add-on.php
return false;
}
// Loop through the list.
foreach ( $addons['items'] as $addon ) {
// We've found a match.
if ( isset( $addon[ $lookup_key ] ) && $addon[ $lookup_key ] === $lookup_val ) {
return $addon;
}
}
return false;
}
/**
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 5.1.1 | Introduced. |