Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/plugin.php Secret
Created Feb 11, 2016

Embed
What would you like to do?
<?php
/**
* Production URL
*
*/
function prefix_production_url( $url ) {
return 'http://www.billerickson.net';
}
add_filter( 'be_media_from_production_url', 'prefix_production_url' );
/**
* Upload Directories
*
*/
function prefix_upload_directories( $directories ) {
return array( '2016/01', '2016/02' );
}
add_filter( 'be_media_from_production_directories', 'prefix_upload_directories' );
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.