I've got a shortcode working to return tags that are used on a particular post but can't figure out how to return the description with it.
function returnpost_tags(){
return get_the_tag_list('',', ',' ');
}
add_shortcode('post-tags', 'returnpost_tags');
I tried
return get_the_tag_list('',', ',' $description');
but obviously something not right
as a bonus I'd like to alternatively as a separate function return the list with description but without the links to the tags archive which is the normal behavior
thanks for the help