issue #19453: moved and renamed custitem dispatch function to itemsite