Use the SaveUserOptions hook to validate the favourites data before it's saved. The hook should
- de-duplicate the array of favourites page_id values
- validate the data and return an error if it's not valid
- list should contain at most 50 values
- list should only contain positive integer values