Site icon Hip-Hop Website Design and Development

Shortcode to appear and show the date not code in Title and description of Social Media sites

I have used some shortcodes for my few posts. You can see here on of the post I have included the shortcode. But when I am sharing this code to any social media it is not able to show the date. Right now I am using these codes you see below here.

add_filter( 'wpseo_title', 'do_shortcode' ); // activate shortcode in Yoast Title
add_filter( 'wpseo_metadesc', 'do_shortcode' ); // activate shortcode in Yoast Meta Description
add_filter( 'the_title', 'do_shortcode' ); // activate shortcode in WP Title
add_filter( 'og:title', 'do_shortcode' ); // activate shortcode in Yoast Title
add_filter( 'og:description', 'do_shortcode' ); // activate shortcode in Yoast Meta Description
// [todayfull]  
function todayfullday(){  
return date('l jS F Y');  
}  
add_shortcode('todayfullday', 'displaydate');  
// end date

In wrdpress there is no problem with this code and I can see the code working in search results too but the problem is there when I am sharing this post to social media sites.