PHP code example of moderntribe / tribe-storage-statically-cdn
1. Go to this page and download the library: Download moderntribe/tribe-storage-statically-cdn library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
moderntribe / tribe-storage-statically-cdn example snippets
// Azure example
define( 'TRIBE_STORAGE_URL', 'https://account.blob.core.windows.net/container' );
define( 'TRIBE_STORAGE_STATICALLY_PROXY', true );
define( 'TRIBE_STORAGE_STATICALLY_CREATE_THUMBNAILS', false );
add_filter( 'tribe/storage/plugin/statically/create_thumbnails', '__return_false' );