This can be done using WP_Query using author and tax_query.
Something like this:
$args = array(
'post_type' => 'post',
'author' => get_current_user_id(),
'tax_query' => array(
array(
'taxonomy' => 'custom-taxonomy',
'operator' => 'EXISTS'
),
),
);
$query = new WP_Query( $args );
And then check if posts are returned through this query.
Please note that this code is not tried or tested and may contain syntax errors.
Related Posts:
- Adding Multiple Values to a Post Meta Key
- Get Posts Under Custom Taxonomy
- How to Display a List of Users Who Have Made at Least 1 Post?
- Find out who deleted a page or post?
- Displaying the category name of a custom post type
- Passing a hardcoded page/post ID into `get_post`
- MySQL Query to Retrieve Category from wp_posts
- Show WordPress Custom Taxonomy Items Based On a Selected Item From Another Custom Taxonomy
- Exclude posts that only have the ‘Uncategorized’ category [duplicate]
- Create new category upon save based on post information
- Custom Taxonomies Incorrectly Counting Revisions?
- wp_update_term is always launched after wp_insert_term
- get_terms parent for current product only
- Query All users that has post
- How do I get the slug of a custom taxonomy category of a post?
- Limit number of posts a user can make per minute?
- How do I allow users to follow a post and then allow admins to email all users who have followed that post?
- How to display different single post template based on author?
- wp_insert_post let users post to without login…broke
- Get user’s most published categories
- Allow anonymous users to post to my site for moderation
- How to filter the taxonomy terms based on another taxonomy term
- wp query with dynamic taxonomies and terms?
- disable column on post and user list
- how to find user ids of all commenters in a post
- How to list users and their post amount?
- Is there any way to allow users to access content before it’s published?
- Get Posts via Taxonomy Term Name with Space
- How to set up multiple taxonomies for groups of posts
- Sidebar links for different pages
- Create post for every user?
- count the total number of comments the user has received for his published posts
- Query all posts of a custom taxonomy term
- Avoid duplicate post from same Taxonomy
- Get posts by name and taxonomy term
- Restrict users post for himself
- Get posts of ONE taxonomy term of custom post type
- How to allow logged in users to post anonymously
- Allow public to post on blog
- current post with current author
- Setting posts_per_page for taxonomy term template
- How to verify wp user password by sql query in wp? [closed]
- Help with Taxonomies
- Posts list in custom taxonomy
- Users problem (multi-author plus multisite)
- How to display posts via custom taxonomy terms using checkboxes?
- sql select for post_title and a term name
- How to allow visitors to filter posts by multiple taxonomies
- Saving custom fields to a custom taxonomy
- How to get Tags with specific post id
- How do I manage my users post before publish?
- How do I retrieve a users’ last 5 posts?
- Gather posts into a cart/lightbox and share with another user
- Copy taxonomy terms from one post to another programmatically
- Loop parent terms {display posts} AND loop child terms {display posts}
- Assign published posts to another user automatically
- Display posts of specific category term
- Automatically create a default set of posts for each new registered user
- Summary of Posts by an User
- How to show a custom taxonomy in the theme?
- Parent category / child category posts
- Deleted a user with administrator rights. Now all the data/content/images are lost. how to recover them back
- Programatically adding custom filters to post list
- Show number of posts by logged in user
- Accessing Post ID Within Loop
- Retrieve data from post meta meta_key having ‘_product_fq_image’ while having author_id and post type is PRODUCT
- Cannot select certain authors for posts after import
- How to Rearrange WordPress Tags list on frontend using Shortcode with specific order?
- How to associate a custom taxonomy to a post multiple times
- How to limit post (Exception pages) for current user in each role in front end?
- How can get the last post date of the user?
- Is there a way to save different data when USER interacts with the same POST?
- How to display particular categorie’s post which associated to specific user?
- WordPress Delete Users from backend doesn’t work
- how let users select categories for posts in frontend?
- Display title of all custom posts from same taxonomy term on a custom post template
- Loop through taxonomies and loop through their terms (Newbie question)
- If taxonomy has more than 6 posts, display show all
- filter buddypress users posts by user ‘xprofile’ custom fields
- Customizing URL slugs of Custom Post Type and Taxonomy make posts/pages 404
- How to get all posts related to a taxonomy?
- How can we print out total number of posts filtered by post type and category?
- Compare date of user’s last posts
- My custom query is displaying random posts in random order
- Add new post only in assigned category
- WordPress each user has each content for a page,how to do that?
- How to get post count including nested categories
- Custom Post Status & Taxonomies
- Allow users to create their own page/s
- My posts section for logged in user
- Displaying Results From Custom Taxonomy Query
- Multiple loops on a Search result page?
- How to get all the terms of a post
- Show Custom Post From Logged In Author
- How to handle dates, trying to calculate time since a post
- each user having category with their name and can add sub categories post in that category
- The post order is different for logged-in and non-logged-in users? [closed]
- User submitted post
- How to detect if an ACF custom-field is really in use?
- Undefined Function Fatal Error with Shortcode [closed]