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:

add_filter( 'slswc_license_type_defaults', function( $license_type_defaults ) {
    unset( $license_type_defaults['lifetime'] ); // remove the lifetime license type
    return $license_type_defaults;
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Scroll to Top