add get_pref and get_pref_override plugin hooks