Function/hook to hide this column for all user except a certain one?
-
Is there any built-in hook or function we could use, to basically hide this plugin notes column from ALL users (even other Admin users) except for one that we specify? Happy to add this via a PHP function snippet into our child functions.php… but didn’t know if there was anything built-in that would let me check if the user was a particular User ID (or based user email address), to then only show it for that user.
Essentially: If NOT User ID of X, then hide it. Alternatively: If IS User ID of X, then show it. Either logic would be fine.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Function/hook to hide this column for all user except a certain one?’ is closed to new replies.