The plugin supports the following directories by default:
– /gallery
– /plugins
– /themes
– /uploads
If you want to add support for a custom directory, add the following code to the functions.php file in your theme directory (use a correct directory name instead of custom-directory
):
add_filter( 'xio_source_directories', function ( $directories ) {
$directories[] = 'custom-directory';
return $directories;
} );