Dynamic select – get option values from shortcode

[ad_1]

I’d like to use values from a shortcode in a dynamic select drop-down, but the values won’t populate as single options and it looks like this πŸ™:

-- Please select
"China" "Peru" "Nepal"

The tag:

[dynamic_select my-select "My-Shortcode"]

The shortcode

function my_shortcode() {
	$html=""China" "Peru" "Nepal"";
	return $html;	
}
add_shortcode( 'My-Shortcode', 'my_shortcode' );

I tried some variations with double and single quotes, but no success.
Can anyone help me out?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer