WordPress Function to Check if Current Post is a Specific Post Type

Last updated on May 5th, 2018 at 02:47 pmI’m not very sure how to phrase the title of this post but this a function that basically checks if the post type of the current post or of a given post matches the post type you have specified. I created this function to check post-type in my ...