@jeroenrotty My intention is to post articles automatically using xml file contents for article content, automatic selection for category, author and featured image with a cron job. It is working fine now except Yoast settings such as seo, title seo description and keywords.
So, I want to know is there any way to do it? like following
wp_seo_title($post->id,”Test tile”);
wp_seo_descriptioin($post->id,”Test tile”);
Please help!