Prepares the keys of user connections for WP_Query This function builds the array for the meta_query used in WP_Query to retrieve only records associated with the user or the teams the user is connected to.
Gets team contacts for a specified user_id Example return: Array ( [relation] => OR [0] => Array ( [key] => assigned_to [value] => user-1 ) [1] => Array ( [key] => assigned_to [value] => group-1 ) )
« More »Gets the current site defaults defined in the notifications config section in wp-admin
« More »Compares the user_metadata array with the site user fields and returns a combined array limited to site_user_fields.