Skip to content

Instantly share code, notes, and snippets.

@billerickson
Last active February 11, 2016 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/dd6639cc11e4464512e4 to your computer and use it in GitHub Desktop.
Save billerickson/dd6639cc11e4464512e4 to your computer and use it in GitHub Desktop.
<?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