Skip to content

Instantly share code, notes, and snippets.

@bjornjohansen
Created May 25, 2016 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjornjohansen/8b02936ec6e69606b7cead19fd313574 to your computer and use it in GitHub Desktop.
Save bjornjohansen/8b02936ec6e69606b7cead19fd313574 to your computer and use it in GitHub Desktop.
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