LLMS_Add_On::is_installable()
Determines if the add-on is installable
Return Return
(boolean)
Source Source
File: includes/models/model.llms.add-on.php
public function is_installable() {
return ( $this->get( 'update_file' ) && in_array( $this->get_type(), array( 'plugin', 'theme' ), true ) );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.21.3 | Use strict comparison for in_array(). |
| 3.22.1 | Unknown. |
| 3.22.0 | Introduced. |