Filters

Articles

slswc_get_user_purchased_products

Filter product purchased products. Allows to change the list of products purchased by a user. Parameters:array $user_products The list of products purchased by a userint $user_id The id of the userarray $args The query arguments for retriving the products. Example usage:

slswc_renewal_url

Filters the license renewwal url. Allows to change the url to be followed to renew a license. Parameters: string $url The url to the license renewal page. This must be a page where the user can buy the product to renew license. Example usage:

slswc_software_tabs

Filter the software tabs displayed on single product url. Parameters:array $software_tabs The current software tabs. Example usage:

slswc_software_license_product_fields

Modify the license product fields. This allows to modify the form fields for the license tab in the product editor. Parameters:array $fields The license product fields. Example Usage:

slswc_set_software_props

Modify software properties. Allow to add or remove software properties. Parameters:array $props The software properties. Example usage:

slswc_debug_enabled

Change whether debug is enabled/disabled. Parameters: boolean $enabled – Whether debug is currently enabled or not. Example usage:

slswc_software_type_fields

Filter the software types available. Allows to add or remove software types from the defaults. Parameters: array $software_types The current list of software types. Example usage:

slswc_email_reminder_length_defaults

Filters email reminder lengths. Filters the default email reminder lengths. Parameters:array $default_lengths The default email reminder lengths. Example usage:

slswc_get_license_types

Filter license types retrieved from database. This will be the defaults if there are no custom license types added. Parameters:array $license_types The license types retrieved from the database. Example usage:

slswc_license_status_types

Filter license status types. Allow to change the license status types. Parameters:array $status_types The current list of status types. Example Usage: