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

#11396
Shamim Hasan
Keymaster

You have added
$args = array(
‘post_parent’ => $ref->mes_id,
‘post_type’ => ‘any’,
‘numberposts’ => – 1,
‘post_status’ => ‘any’
);
here you have declared $args which override original $args.

In messagebox no child messages is shown, so where child messages shown?

Use your same function in both hook i have given, which will cache proper count.