In WordPress , I want when the author of the post reading his post showing text like’ Delete Post , Edit Post , …. etc” only for the author not for all users.
First: I want to know the id of user login
Second: I want to know the id of author ..
Then:
if($user_id_login == $id_author){
echo 'Delete Post , Edit Post ... etc';
}
but from where do I get the $user_id_login and $id_author values?
Something like this: