Hi,
do you mean to show the selected user ads on his BP profile page? If so then this can be done with the BuddyPress extension https://wpadverts.com/extensions/buddypress-integration/
If you want to use the [adverts_list] shortcode to show only ads posted by a logged in users then you can add the code below in your theme functions.php file
add_filter( "shortcode_atts_adverts_list", function( $out, $pairs, $att ) {
if(isset($att["loggedin_only"])) {
$out["loggedin_only"] = absint( $att["loggedin_only"] );
} else {
$out["loggedin_only"] = 0;
}
return $out;
}, 10, 3 );
add_filter( "adverts_list_query", function( $args, $params ) {
if( $params["loggedin_only"] == 1 ) {
$args["author__not_in"] = array( 0 );
}
return $args;
}, 10, 2 );
and then use the [adverts_list] with a loggedin_only param like in the example below to show the ads posted by logged-in users.
[adverts_list loggedin_only="1"]