Why might a plugin’s ‘do_shortcode’ not work in an AJAX request?
WP Ajax runs both public as well as closed calls via admin.php. This means that you don’t have access to the whole wp environment, such as do_shortcode(), which is inside /wp-includes/shortcodes.php. This still can get worked around (and as well for oEmbed). See the following example that you could use in your AJAX callback to … Read more