Remove “Edit Link” From Page

When you edit your page, you will realized “Edit Link” on the bottom of your page.

How to remove it, then?

You can add following code into your theme functions.

function wpse_remove_edit_post_link( $link ) {
return '';
}
add_filter('edit_post_link', 'wpse_remove_edit_post_link');