Description If you want to add extra locks under Package Settings => Lock Options , you can use this hook. Parameters Two arguments are passed to this hook. Usage <?php add_filter(‘wpdm_download_lock’,’my_new_lock’, 10, 2); ?> Examples <?php add_filter( ‘wpdm_download_lock’, ‘my_new_lock’, 10, 2 ); function my_new_lock( $extra_lock, $package ) { $extra_lock[‘lock’] = ‘locked’; // locked or … Continue reading wpdm_download_lock
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed