-
-
Save billerickson/3e38da9b09afc91a0bb4f71961d22fb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Local Settings | |
* Description: Code that should only run in local environment | |
* Version: 1.0 | |
* Author: Bill Erickson | |
* Author URI: http://www.billerickson.net | |
* License: MIT | |
* License URI: http://www.opensource.org/licenses/mit-license.php | |
*/ | |
/** | |
* Media URL | |
* | |
*/ | |
function be_local_media_url( $url ) { | |
return 'http://sample.wpengine.com'; | |
} | |
add_filter( 'be_media_from_production_url', 'be_local_media_url' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment