Code Tag: conditional

  • Is_Custom_Post_Type()

    Checks if the current post is a custom post type, returns boolean. Very handy when working with custom post types, layouts and the like. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode…