apply_filters( 'clanbite_license_can_install_addons', bool $allowed )Filters whether the Licence tab offers to install add-ons.
Return false to hide the Install buttons (for example on a managed host that handles plugins itself).
Filter PHP
Parameters
$allowed(bool)Whether the current user may install plugins and file changes are allowed.
Example
add_filter( 'clanbite_license_can_install_addons', function ( $allowed ) {
// Change $allowed here.
return $allowed;
}, 10, 1 );Defined in inc/updates/class-installer.php
Changelog
| Version | Description |
|---|---|
| 1.6.0 | Introduced. |