Locked out of your WordPress website? No worries. This article explains how a server administrator can either force reset a user’s WordPress password or create a new WordPress admin user with a brand new password. Database and FTP methods are described.
This code sample is for developers who use Yoast SEO plugin on their blog and want to publish a post using PHP code. It’s a quick copy and paste method to update Yoast SEO fields.