After days of trying I managed to fix it myself.
Instead of using update_post_meta, I just did this:
$_POST[ "yoast_wpseo_metadesc" ] = $intro_y;
It works perfectly.
Hope this can help someone.
After days of trying I managed to fix it myself.
Instead of using update_post_meta, I just did this:
$_POST[ "yoast_wpseo_metadesc" ] = $intro_y;
It works perfectly.
Hope this can help someone.