Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set the neccessary capability for CloudProxy IP whitelisting to upload_files
<?php
/**
* Set the neccessary capability for CloudProxy IP whitelisting to upload_files
*/
add_filter( 'CloudProxy/Whitelist_IP/Capability', function( $capability ) {
return 'upload_files';
}, 10, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.