Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/plugin.php Secret
Last active 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' );
/**
* Production Start Month
*
*/
function prefix_production_start_month( $month ) {
return '01';
}
add_filter( 'be_media_from_production_start_month', 'prefix_production_start_month' );
/**
* Production Start Year
*
*/
function prefix_production_start_year( $year ) {
return '2016';
}
add_filter( 'be_media_from_production_start_year', 'prefix_production_start_year' );
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.