After further testing it seems my attempt (in my question) works!
<?php if ( 0 == count_user_posts( get_current_user_id(), "CUSTOM_POST_TYPE" ) && is_user_logged_in() ) { ?>
do something
<?php } else { ?>
do something else
<?php } ?>
Related Posts:
- How do test if a post is a custom post type?
- Conditional for single-{post-type}.php
- Taxonomy count per Post type
- Count posts or custom post types from last 24 hours (or from today)
- Count posts that have specific taxonomy term attached
- Count post that have specific meta value
- is_singular() not working if called via callback function of admin-ajax.php
- functions.php conditional tag only for custom post type
- Exclude custom function content from certain pages
- Get template part based on custom taxonomy term
- taxonomy list display custom post count
- If on term-page -> get the current term?
- Count custom post types with a specific meta value
- Custom Post Type Category List & Post Count
- custom post type upcoming post and past post
- changing default comment form arguments [duplicate]
- Taxonomy list. Order by a specific custom post type count
- Get count of custom post type created by current user
- is_page_template not working as expected
- get_queried_object error How to show post count by month in the taxonomy page
- remove child post from custom post type archive
- How to count custom post types with conditional operators
- Count posts with specific term_meta
- count_many_users_posts except current logged in user?
- Count all comments of a custom post type
- if custom posts type exists and there are posts load script
- Need help targeting a custom post type with conditional tags
- Why would this IF statement not work? [closed]
- right_now_content_table_end function not working?
- WordPress count child posts of each parent custom post type and use in json array for google maps jquery plugin
- custom comments on specific post type
- Excluding custom post types
- Query/list all terms and their custom post count
- How to make sure content doesn’t display if selection is empty
- Register widget only page is a singular of custom post type
- Is there a conditional tag to determine whether the post is _any_ custom post type?
- Conditional Query of Custom Post Type and custom taxonomy
- Post count by month of taxonmy term
- custom post type category count shortcode
- How to run filter only on custom post type edit screen
- Conditional statement for if archive page has posts which contain certain taxonomies/categories/tags, show those terms
- Custom Post Conditional for Parent & Child Single.php?
- How to display author post count for multiple custom post types?
- Conditional for a Single Post That Belongs to a Category?
- How to show only the most recent post on my custom post type archive?
- Conditional Tags for specific category of custom posts
- Move Genesis Single Page/Single Post Title
- Post loop count is not in order
- How to check if post/page or taxonomy post is published by admin
- TinyMCE Buttons on Certain Post Type
- Display message if no posts in Custom Post Type loop
- I am trying to get cutom post cout by month of current taxonmy term
- Showing taxonomy terms on custom post type
- how to count the current posts terms
- Check if custom post is a parent?
- Trying to add a class to post links
- How to count other posts not having specific taxonomy terms?
- WordPress Count posts within a custom post type
- Redirect to URL if x number of days passed
- comments hooks on custom post type
- Conditional Statements
- If custom taxonomy else conditional [closed]
- If tag exists, then echo once
- Show specific content on parent custom post type and all children
- Display custom post counts for author , not default posts
- Use conditionals with wp_enqueue_style to attach stylesheet according to post type displayed
- display post count in archive page that have relation with another taxonomy term
- Display category filters for custom post type when category is shared by multiple post types
- How do I find the count of the current post?
- get_queried_object not work in taxonomy page
- How can I check the rewrite slug of current post type listing page
- Get queried object for custom post type count
- How to show custom post count in archive page
- How to add custom PHP code in post header?
- I have a problem with displaying children pages of custom post type
- Modify the category post counting function
- $_SESSION Not working after X amount of page views
- Columns depending on posts count
- Custom metabox fields not saving when limited to a certain CPT
- Can not hook into custom post type template with: is_page() conditional?
- Taxonomy count per Post type
- Counting custom post type with wp_count_posts returns an empty object
- Diffrent search templates for different post types
- Conditional Tags If Custom Post Parent & Child?
- How to add a post counter to the list of custom taxonomy terms?
- Custom Post Query Combined with Conditional Tags
- Conditional statement checking two conditions for CPT and Custom Taxonomy [closed]
- strange conditional tag behaviour [duplicate]
- how to show Author post type count
- Custom post type is_singular condtional not working when managing sidebar display
- Complex Custom Loop with Includes
- Marking future dated post as published
- How can you use custom types/taxonomies? [closed]
- How to set up a post word limit for a custom post type
- WordPress custom taxonomy template not working
- help
- Create field of Custom Post Types
- Pagination hitting 404 page on /page/4
- Display another page / custom post type as home page
- Why does my plugin require a permalink reset after a new installation?