Closed bjr70 closed 2 years ago
in functions.php
look at
/**
* Return the license type list.
*
* @return array
*/
function humcore_deposits_license_type_list() {
$license_type_list = array();
$license_type_list['All Rights Reserved'] = 'All Rights Reserved';
$license_type_list['Attribution'] = 'Attribution';
$license_type_list['Attribution-NonCommercial'] = 'Attribution-NonCommercial';
$license_type_list['Attribution-ShareAlike'] = 'Attribution-ShareAlike';
$license_type_list['Attribution-NonCommercial-ShareAlike'] = 'Attribution-NonCommercial-ShareAlike';
$license_type_list['Attribution-NoDerivatives'] = 'Attribution-NoDerivatives';
$license_type_list['Attribution-NonCommercial-NoDerivatives'] = 'Attribution-NonCommercial-NoDerivatives';
$license_type_list['All-Rights-Granted'] = 'All Rights Granted';
return apply_filters( 'humcore_deposits_license_type_list', $license_type_list );
}
i think BY corresponds to:
$license_link_list['Attribution'] = 'https://creativecommons.org/licenses/by/4.0/';
link to the BY license: https://creativecommons.org/licenses/by/4.0/
search for regex ['"]Attribution['"]
across all files to find all places to make changes
class-humcore-deposit-datacite-api.php
class-humcore-deposit-ezid-api.php
functions.php
Change default license to "Attribution."