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

#11253
shamim
Keymaster

You can use that filter like


add_filter( 'fep_message_query_args', function( $args ){
    $args['post__not_in'] = array( 1,2,3);
    return $args;
});

Where 1,2,3 is your parent messages ids.