Toolset Forms allows filtering the Posts shown in the “Relationships” fields where one can pick a related post to the currently edited or created post.
Those filters allow (in the GUI) to return either all authors posts or the current logged in users posts.
This below filter should allow you to return any users post filtered by the (single) ID of a user.
The shortcode of Forms is not able to accept an Array of users, hence you can only pass one user ID each form/field.
function load_specific_users_as_author( $force_author) { //Dull example of loading only posts of author with ID 1 $force_author = 1; //Or, alter the $force_author as you like, it must return one Users ID. It does not accept arrays. //Return the $force_author return $force_author; } //Apply the filter add_filter( 'cred_force_author_in_related_post', 'load_specific_users_as_author', 10 );
This will filter posts in the selector to only the ones of user ID 1 (or as set by your custom query)
There are 4 more filters you might use, however none including the above are documented, hence this snippet is not public.