Performance of WordPress Rest API vs WordPress Feeds

Feeds can be easily cached (even put them on CDN), API caching is a more complex thing. So this covers the performance issue. But there is also the code and maintenance side… APIs are more flexible as you can change the structure of the request and response to whatever you need and not limeted to … Read more

How to use WordPress REST api to login a user?

There are 3 ways to authenticate a user using a REST api end-point request, 1- using cookies, which is the way WordPress keeps track of authenticated users in POST requests. You pass the authentication details in your REST request, use the wp_signon() function to sign-in your user, and if successful you set the authentication cookie … Read more

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