I got this echo doo_isset($postmeta,'youtube_id');
and return this result in Wordpress post: [iNJaoIZTHh0]
Can please help me to remove the square brackets for result to be only: iNJaoIZTHh0
I tried to find something useful on other websites but nothing until now.
PS. Thanks C3roe, right answer is:
echo trim(doo_isset($postmeta,'youtube_id'), '[]');
str_replace?do_shortcodealong with theembedshortcode.echo trim(doo_isset($postmeta,'youtube_id'), '[]');