Reply To: Message box slow for certain users


Home Forums Front End PM PRO Message box slow for certain users Reply To: Message box slow for certain users

#15544
Shamim Hasan
Keymaster

Please add following code in your theme’s (child theme’s if any) functions.php

add_action( 'fep_message_query_args', function( $args ){
	unset( $args['orderby'], $args['meta_key'] );
	return $args;
});

This will order your messages by created date, but query will be lot faster.

Let me know.