Replies: 0
I have a series of custom post types. One is “Swimmers.”
The swimmer pod has a relationship field to USERS, the extended WordPress post type called user.
I have a series of websites with the same pods setup on a WordPress multisite.
When a member of a website wants to edit a swimmer by choosing a 1:1 relationship to a USER, how do I filter each site’s USER list to only list current site users?
in wp-admin, I want the Editor level role, or Author, or Admin, to be able to edit pod posts. That works.
When editing a custom post type in the admin backend, I want the logged in user with appropriate permissions to be able to select from the USER related field in the Swimmer POD only USERS that are connected to the current sub site in the WordPress multisite.
I have a plugin that desyncs users from sites so they should only be linked ot one site at a time.
I know the user table on a multisite reads from ALL sites, but…. How do I do this? Is it possible?
Many thanks in advance.