There will be some solution to this, I have tried several methods and the result is the same as testing with different codes show here.
HTML Code:
<meta name="description" content="<?php bfa_excerpt( 40, ' ...' ); ?>" /> <meta property="og:type" content="article" /> <meta property="og:url" content="<?php the_permalink(); ?>" /> <meta property="og:title" content="<?php the_title(); ?>" /> <meta property="og:description" content="<?php the_excerpt(); ?>" /> <meta itemprop="url" content="<?php the_permalink(); ?>" /> <meta itemprop="name" content="<?php the_title(); ?>" /> <meta itemprop="description" content="<?php bfa_excerpt(40, 'text???' ); ?>" /> <meta name="twitter:card" value="summary" /> <meta name="twitter:url" value="<?php the_permalink(); ?>" /> <meta name="twitter:title" value="<?php the_title(); ?>" /> <meta name="twitter:description" value="<?php bfa_excerpt(); ?>" />
It would be good that this limitation of the subject removed to insert php code freely.