WordPress Media Explorer ResourceSpace extension
You must define the following settings. It is reccommended that this is added to your wp-config.php
file.
define( 'PJ_RESOURCE_SPACE_DOMAIN', '' );
define( 'PJ_RESOURCE_SPACE_KEY', '' );
Additionally, if your resourcespace install is behind basic auth, add the following.
define( 'PJ_RESOURCE_SPACE_AUTHL', '' );
define( 'PJ_RESOURCE_SPACE_AUTHP', '' );
Further (optional) settings
// Number of results to fetch for each page. Default is 20.
define( 'PJ_RESOURCE_SPACE_RESULTS_PER_PAGE', 20 );
Grant access by user role
The plugin uses the insert_from_resourcespace
capability. This is granted to administrators and editors by default.