WordPress - Hide "Edit" link for logged-in users
lorro Aug 31st, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- // WordPress - Hide "Edit" link for logged-in users
- add_filter( 'edit_post_link', '__return_false' );
RAW Paste Data