Yoast SEO (WordPress Plugin) - Get plugin generated data manually
PHP Snippet 1:
echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true);
echo get_post_meta(get_the_ID(), '_yoast_wpseo_title', true);
PHP Snippet 2:
do_action( 'wpseo_head' );
PHP Snippet 3:
echo YoastSEO()->meta->for_current_page()->description;