Reply To: Hook to use before messages load


Home Forums Front End PM PRO Hook to use before messages load Reply To: Hook to use before messages load

#11391
shamim
Keymaster

You are overriding variable $args. Please change your arguments name to something else. Also you do not need to provide child messages ids.

count is cached for performance. Please use same function in hook fep_message_count_query_args also. It will be hard to maintain count properly if you do not invalid cache when ref ids change for any user.