Only show content to the the author of the current post. Useful when you have a form on the same page as the post for the author to edit post information. In this example the function checks to make sure the user logged in is also the author of the post.
Did you like it? Take a second to support us on PayPal or Patreon!