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:

<?php
add_filter( 'slswc_software_type_fields', function( $software_types ) {
    unset( $software_types['other'] );
    $software_types['php'] = __( 'PHP Script', 'text_domain' );

    return $software_types;
} );
Was this article helpful?

Related Articles

Need Support?

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