Filters

Articles

slswc_license_type_defaults

Filter default license types. Allows the default license types to be modified to add or remove license types. array $license_type_defaults The default license types to be filtered. Example usage:

slswc_all_licenses

Allow to filter licenses retrieved from database. array $all_licenses The formated list of licenses.array $licenses The raw licenses retrieved from database. Example usage:

slswc_get_licenses

Filters the license before being displayed on the licenses table. Parameters: array $all_licenses All the licenses retrieved to be displayed on the table. Example usage: Access and modify properties of a license.

slswc_license_table_columns

Filter the license table columns for the licenses table in admin. Parameters: array $columns The current list of column for license table. Example Usage: Remove purchase_date column

Cache Expiry Filters

When caching is enabled. The cache expiry time can be changed by adding filters. The filters in the table below are the filters that can be used depending on which expiry time needs to be changed. Default values for all this filters is 12 hours but converted int an equivalent number of seconds using 12 […]