Skip to content

Instantly share code, notes, and snippets.

@Pross Pross/functions.php
Created Apr 28, 2014

Embed
What would you like to do?
<?php
add_action( 'template_redirect', 'fix_ellens_mess', 9 );
function fix_ellens_mess() {
if( ! is_feed() )
return;
else
define( 'WP_STAGE', 'staging' );
}
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.