Last active
November 10, 2017 22:24
-
-
Save mzykin/008961d60c9105d18f3ede0171b56648 to your computer and use it in GitHub Desktop.
Remove "Edit" link at bottom of Wordpress pages
This file contains hidden or 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
//* Remove edit link | |
function wpse_remove_get_edit_post_link( $link ) { | |
return null; | |
} | |
add_filter('get_edit_post_link', 'wpse_remove_get_edit_post_link'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment