Created
January 4, 2014 23:36
-
-
Save norcross/8262272 to your computer and use it in GitHub Desktop.
load the preview in logged in mode
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 | |
add_filter( 'gppro_preview_url', 'gpp_user_logged_in' ); | |
function gpp_user_logged_in( $url ) { | |
$url['adminbar'] = 'on'; | |
return $url; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment