Home › Forums › Front End PM PRO › Message box slow for certain users › Reply To: Message box slow for certain users
July 4, 2018 at 5:47 pm
#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.