Quicky
Notice: Object of class WP_Post could not be converted to int in /app/public/wp-includes/general-template.php
I faced this error while working on a project and it wasted some of my time to figure out why it was happening. I had the following code. It gave me the following error and it was not clear about its location which makes it a bit...
Quicky
Redirect user on plugin activation
Sometime, it is necessary to redirect users to an introduction or to a necessary options page on plugin activation. Here I am sharing a quick way to do that. There are recommendations to do so directly on plugin activation which...
No More Results