Support » Plugin: Front End PM » Get user messages

  • Resolved Sébastien SERRE

    (@sebastienserre)


    Hello,

    I’m trying to get the msg detail for a specific user with

    foreach ( $users as $user ) {
    			$msg_details = fep_get_messages(
    				[
    					'mgs_author_in' =>  [ $user->ID ],
    				]
    			);
    }

    but this code return an empty array, do you any suggestion ?

  • You must be logged in to reply to this topic.