SHARE
TWEET

WordPress - Hide the "Edit" link for logged-in users

lorro Aug 4th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. // WordPress - hide the front end "Edit" link for logged-in users
  3. add_filter( 'edit_post_link', '__return_false' );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top