Programmatically emulate viewing a post in wp-admin

I ended up using curl to login to the wp-admin page and sent a request to each post that misses the qr code. <?php $curl = curl_init(); //—————- generic cURL settings start —————- $header = array( “Referer: https://my.wordpress.com/wp-login.php”, “Origin: https://my.wordpress.com”, “Content-Type: application/x-www-form-urlencoded”, “Cache-Control: no-cache”, “Pragma: no-cache”, “Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8”, “User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)