WordPress programatically inserted post not showing in authors profile

WordPress programatically inserted post not showing in authors profile

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