Thank you for your help ??
What I meant to say is how to dynamically lock a user to a term. For example to lock the user “john” to the term “johnsmith” so the said term becomes unavailable to the rest of the users, and the said user becomes unavailable to the rest of the terms.
It would be very helpful to have a “relationship_type” parameter with the options “one_to_one”, “one_to_many” and “many_to_many” like this:
add_action( 'mb_relationships_init', function () {
MB_Relationships_API::register(
array(
'id' => 'users_to_terms',
'relationship_type' => 'one_to_one'
'from' => array(
'object_type' => 'user',
'field' => array(
'name' => 'Manages',
),
),
'to' => array(
'object_type' => 'term',
'taxonomy' => 'category',
'field' => array(
'name' => 'Managed By',
),
),
)
);
} );
The relationship_type would take take of the “max_clone” parameter accordingly.
Please consider this suggestion. Thanks a lot!!!!!