Delete my old code and then Try this code.
function modify_geodir_dashboard_links($links) {
if ( !is_user_logged_in() ) {
return $links;
}
$post_types_array = geodir_get_posttypes( 'array' );
global $current_user;
$post_types = geodir_get_posttypes();
//$post_types = array('gd_place');
$author_link = get_author_posts_url( $current_user->data->ID );
$author_link = geodir_getlink( $author_link, array( 'geodir_dashbord' => 'true' ), false );
foreach ($post_types as $post_type) {
$add_listing_page = geodir_get_addlisting_link($post_type);
$listing_link = geodir_getlink( $author_link, array( 'stype' => $post_type ), false );
$listing_link = apply_filters( 'geodir_dashboard_link_my_listing', $listing_link, $post_type, $current_user->ID );
$name = $post_types_array[$post_type]['labels']['name'];
$singular_name = $post_types_array[$post_type]['labels']['singular_name'];
$links = str_replace('value="'.$add_listing_page.'">'.$name.'</option>', 'value="'.$add_listing_page.'">'.$singular_name.'</option>', $links);
$links = str_replace('value="'.$listing_link.'">'.$name.'</option>', 'value="'.$listing_link.'">'.$singular_name.'</option>', $links);
}
return $links;
}
add_filter('geodir_dashboard_links', 'modify_geodir_dashboard_links');