Created
April 5, 2016 16:32
-
-
Save jtcote/c1ccc8da945af9baea525d5837c337f4 to your computer and use it in GitHub Desktop.
Restore WP get_shortlink function in editor
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
//* Restore get shortlinks in editor | |
add_filter( 'get_shortlink', 'gumtheme_restore_wp_getshortlink' ); | |
function gumtheme_restore_wp_getshortlink( $shortlink ) { | |
return $shortlink; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment