WordPress.org

Ready to get started?Download WordPress

Forums

Query logged in users custom post types? (1 post)

  1. Pete
    Member
    Posted 1 year ago #

    I have a custom post type called website, how would I write a conditional function to first check if the user is logged in, then based on the users ID get all custom post types which are website? I am using a custom page template.

Topic Closed

This topic has been closed to new replies.

About this Topic